/* roulang page: index */
:root {
      --primary: #134E4A;
      --primary-hover: #0F3E3B;
      --primary-light: #F0FDF4;
      --accent: #D97706;
      --accent-hover: #B45309;
      --dark-bg: #062421;
      --dark-card: #0A322E;
      --slate-bg: #F8FAFC;
      --white: #FFFFFF;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --border-dark: #1E4E49;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 18px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
      --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 12px 30px -4px rgba(19, 78, 74, 0.12);
      --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-family: var(--font-stack); color: var(--text-main); background: #FFFFFF; }
    body { line-height: 1.75; font-size: 15px; -webkit-font-smoothing: antialiased; }
    a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
    img { max-width: 100%; height: auto; display: block; }
    button, input, select, textarea { font-family: inherit; }

    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .section-padding { padding: 84px 0; }
    .bg-light { background-color: var(--slate-bg); }
    .bg-white { background-color: var(--white); }
    .bg-dark { background-color: var(--dark-bg); color: #E2E8F0; }

    /* 顶部信息行 */
    .top-bar { background: #0A2F2C; color: #94A3B8; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 8px 0; }
    .top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
    .top-bar-info { display: flex; gap: 24px; }
    .top-bar-badge { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

    /* 主导航 */
    .site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
    .header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
    .site-logo { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
    .logo-mark { width: 38px; height: 38px; background: var(--primary); color: #FFF; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; box-shadow: 0 3px 8px rgba(19, 78, 74, 0.35); }
    .logo-sub { font-size: 11px; display: block; color: var(--text-muted); font-weight: normal; margin-top: -2px; }
    .nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-menu a { font-weight: 600; color: var(--text-main); font-size: 14.5px; }
    .nav-menu a:hover, .nav-menu a.active { color: var(--accent); }
    .nav-cta-btn { background: var(--primary); color: #FFF !important; padding: 10px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); }
    .nav-cta-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }

    /* 标题系统 */
    .section-head { text-align: center; max-width: 820px; margin: 0 auto 52px; }
    .badge-pill { display: inline-block; background: #E6F4EA; color: var(--primary); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; letter-spacing: 0.5px; margin-bottom: 12px; }
    .badge-pill.dark { background: rgba(217, 119, 6, 0.15); color: #F59E0B; }
    .section-title { font-size: 32px; font-weight: 800; line-height: 1.35; color: var(--primary); margin-bottom: 14px; }
    .bg-dark .section-title { color: #FFF; }
    .section-desc { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
    .bg-dark .section-desc { color: #94A3B8; }

    /* 按钮与通用组件 */
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.25s ease; border: none; padding: 13px 28px; font-size: 15px; }
    .btn-primary { background: var(--primary); color: #FFF; }
    .btn-primary:hover { background: var(--primary-hover); }
    .btn-accent { background: var(--accent); color: #FFF; }
    .btn-accent:hover { background: var(--accent-hover); box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35); }
    .btn-outline { background: transparent; border: 1.5px solid var(--border-color); color: var(--text-main); }
    .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
    .btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: #FFF; }
    .btn-outline-white:hover { border-color: #FFF; background: rgba(255,255,255,0.1); }

    /* 1. 首屏模块 (API / 准入开发者终端风格结合考务标准) */
    .hero-section { position: relative; background: linear-gradient(135deg, #062421 0%, #0F3E3B 60%, #134E4A 100%); color: #FFF; padding: 90px 0 100px; overflow: hidden; }
    .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
    .hero-h1 { font-size: 42px; line-height: 1.25; font-weight: 900; margin-bottom: 22px; letter-spacing: -0.5px; }
    .hero-h1 span { color: #FBBF24; }
    .hero-lead { font-size: 16px; color: #CBD5E1; line-height: 1.85; margin-bottom: 32px; }
    .hero-btns { display: flex; gap: 16px; margin-bottom: 40px; }
    .hero-stats { display: flex; gap: 32px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; }
    .hero-stat-val { font-size: 26px; font-weight: 800; color: #F59E0B; }
    .hero-stat-lbl { font-size: 12.5px; color: #94A3B8; }

    /* 首屏代码与标准终端交互盒 */
    .terminal-box { background: #021412; border-radius: var(--radius-md); border: 1px solid var(--border-dark); box-shadow: 0 20px 40px rgba(0,0,0,0.5); overflow: hidden; }
    .terminal-header { background: #072B28; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .terminal-dots { display: flex; gap: 7px; }
    .terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-red { background: #EF4444; } .dot-yellow { background: #F59E0B; } .dot-green { background: #10B981; }
    .terminal-title { font-size: 12px; color: #64748B; font-family: monospace; }
    .terminal-body { padding: 22px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; color: #A7F3D0; }
    .terminal-code-comment { color: #64748B; }
    .terminal-code-key { color: #F59E0B; }
    .terminal-code-val { color: #67E8F9; }
    .terminal-btn-row { padding: 14px 22px 20px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; gap: 12px; }

    /* 2. 优惠阶梯与补贴政策区 */
    .ladder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .ladder-card { background: #FFF; border: 1.5px solid var(--border-color); border-radius: var(--radius-md); padding: 32px 28px; position: relative; transition: all 0.3s ease; }
    .ladder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
    .ladder-card.featured { border-color: var(--accent); background: #FFFDF9; }
    .ladder-tag { position: absolute; top: -13px; right: 24px; background: var(--accent); color: #FFF; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
    .ladder-rank { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 8px; text-transform: uppercase; }
    .ladder-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--text-main); }
    .ladder-price { font-size: 30px; font-weight: 900; color: var(--primary); margin-bottom: 16px; }
    .ladder-price span { font-size: 14px; font-weight: normal; color: var(--text-muted); }
    .ladder-list { list-style: none; margin-bottom: 24px; font-size: 14px; color: var(--text-muted); }
    .ladder-list li { margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
    .ladder-list li::before { content: "✓"; color: #059669; font-weight: bold; }

    /* 3. 套餐对比网格 */
    .compare-table-wrapper { background: #FFF; border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); overflow-x: auto; }
    .compare-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14.5px; }
    .compare-table th, .compare-table td { padding: 18px 24px; border-bottom: 1px solid var(--border-color); }
    .compare-table th { background: #F8FAFC; color: var(--primary); font-weight: 700; }
    .compare-table tr:last-child td { border-bottom: none; }
    .highlight-col { background: #F0FDF4; font-weight: 600; color: var(--primary); }

    /* 4. 限时备考考期直通入口 */
    .time-banner { background: url('/assets/images/af35a7d5cce0bec7.webp') center/cover no-repeat; border-radius: var(--radius-lg); position: relative; overflow: hidden; padding: 60px 48px; color: #FFF; box-shadow: var(--shadow-lg); }
    .time-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,36,33,0.95) 0%, rgba(15,62,59,0.85) 100%); }
    .time-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
    .time-title { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
    .time-desc { max-width: 620px; color: #CBD5E1; font-size: 15px; }

    /* 5. 爆款职业资格清单 */
    .hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .hot-card { background: #FFF; border-radius: var(--radius-md); border: 1px solid var(--border-color); overflow: hidden; transition: all 0.3s ease; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
    .hot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(19, 78, 74, 0.4); }
    .hot-img-wrap { height: 180px; overflow: hidden; position: relative; }
    .hot-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
    .hot-card:hover .hot-img-wrap img { transform: scale(1.05); }
    .hot-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
    .hot-cert-type { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
    .hot-name { font-size: 19px; font-weight: 800; color: var(--text-main); margin-bottom: 10px; }
    .hot-info-row { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
    .hot-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; margin-top: auto; }
    .hot-pill { background: #F1F5F9; font-size: 11.5px; padding: 3px 8px; border-radius: 4px; color: var(--text-muted); }

    /* 6. 学员评价与通关见证墙 */
    .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .review-card { background: #FFF; border-radius: var(--radius-md); border: 1px solid var(--border-color); padding: 26px; box-shadow: var(--shadow-sm); }
    .review-user { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
    .user-avatar { width: 46px; height: 46px; border-radius: 50%; background: #E2E8F0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary); font-size: 16px; }
    .user-meta-name { font-weight: 700; font-size: 15px; }
    .user-meta-role { font-size: 12px; color: var(--accent); font-weight: 600; }
    .review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

    /* 7. 保障体系图标条 */
    .guarantee-strip { background: var(--dark-bg); color: #FFF; padding: 48px 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
    .guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .guarantee-item { display: flex; align-items: flex-start; gap: 16px; }
    .guarantee-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(217, 119, 6, 0.15); color: #F59E0B; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; flex-shrink: 0; }
    .guarantee-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: #F8FAFC; }
    .guarantee-item p { font-size: 13px; color: #94A3B8; line-height: 1.6; }

    /* 8. 职业资格报考政策与报考指南资讯 */
    .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .news-card { background: #FFF; border-radius: var(--radius-md); border: 1px solid var(--border-color); overflow: hidden; display: flex; flex-direction: column; }
    .news-img-wrap { height: 160px; overflow: hidden; }
    .news-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
    .news-body { padding: 22px; flex-grow: 1; }
    .news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
    .news-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.45; }
    .news-summary { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

    /* 9. 考务痛点与准入合规剖析 (扩充板块) */
    .pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .pain-card { background: #FFF; border-radius: var(--radius-md); border: 1px solid #FEE2E2; padding: 24px; border-top: 4px solid #EF4444; }
    .pain-card h4 { font-size: 16px; font-weight: 800; color: #991B1B; margin-bottom: 10px; }
    .pain-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

    /* 10. 沉浸式实操机房与线下基地 */
    .lab-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #FFF; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 36px; }
    .lab-text h3 { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
    .lab-text p { font-size: 14.5px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
    .lab-check-list { list-style: none; font-size: 14px; margin-bottom: 24px; }
    .lab-check-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; color: var(--text-main); font-weight: 600; }
    .lab-check-list li span { color: var(--accent); font-weight: 800; }
    .lab-img-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); height: 320px; }
    .lab-img-frame img { width: 100%; height: 100%; object-fit: cover; }

    /* 11. 常见备考疑问手风琴 */
    .faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
    .faq-item { background: #FFF; border: 1.5px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.25s; }
    .faq-item:hover { border-color: var(--primary); }
    .faq-summary { padding: 18px 24px; font-size: 16px; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
    .faq-summary::-webkit-details-marker { display: none; }
    .faq-summary::after { content: "+"; font-size: 20px; color: var(--accent); transition: transform 0.25s; }
    details[open] .faq-summary::after { transform: rotate(45deg); }
    .faq-content { padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.8; border-top: 1px dashed var(--border-color); padding-top: 16px; }

    /* 12. 加购/报名单一终极收口行动区 */
    .cta-banner { background: linear-gradient(135deg, #134E4A 0%, #062421 100%); border-radius: var(--radius-lg); padding: 56px 40px; color: #FFF; text-align: center; box-shadow: var(--shadow-lg); }
    .cta-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; color: #FFF; }
    .cta-banner p { max-width: 700px; margin: 0 auto 32px; color: #CBD5E1; font-size: 15px; }
    .cta-form-row { display: flex; justify-content: center; gap: 12px; max-width: 560px; margin: 0 auto; }
    .cta-input { flex-grow: 1; padding: 14px 18px; border-radius: var(--radius-sm); border: none; font-size: 14.5px; outline: none; }
    .cta-note { font-size: 12px; color: #94A3B8; margin-top: 14px; }

    /* 页脚 */
    .site-footer { background: #041816; color: #94A3B8; padding: 64px 0 28px; font-size: 13.5px; border-top: 1px solid #0B332F; }
    .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
    .footer-logo { font-size: 19px; font-weight: 800; color: #FFF; margin-bottom: 14px; display: inline-block; }
    .footer-desc { line-height: 1.75; margin-bottom: 20px; font-size: 13px; }
    .footer-heading { font-size: 15px; font-weight: 700; color: #FFF; margin-bottom: 18px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a:hover { color: #FFF; padding-left: 3px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12.5px; }
    .footer-legal-links { display: flex; gap: 18px; }

    /* 移动端菜单开关 */
    .menu-toggle { display: none; background: none; border: none; color: var(--primary); font-size: 24px; cursor: pointer; padding: 8px; }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .ladder-grid, .hot-grid, .reviews-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
      .guarantee-grid, .pain-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .lab-box { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      .top-bar { display: none; }
      .menu-toggle { display: block; }
      .nav-menu { position: fixed; top: 74px; left: 0; right: 0; background: #FFF; border-bottom: 1px solid var(--border-color); flex-direction: column; padding: 24px; gap: 18px; display: none; box-shadow: var(--shadow-lg); }
      .nav-menu.active { display: flex; }
      .hero-h1 { font-size: 30px; }
      .ladder-grid, .hot-grid, .reviews-grid, .news-grid, .guarantee-grid, .pain-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .section-padding { padding: 56px 0; }
      .cta-form-row { flex-direction: column; }
      .time-content { flex-direction: column; align-items: flex-start; }
      .hero-stats { flex-wrap: wrap; gap: 20px; }
    }
