/* roulang page: index */
:root {
            --primary: #1A365D;
            --primary-dark: #0F172A;
            --primary-light: #2B4C7E;
            --secondary: #C59B27;
            --secondary-hover: #D4AF37;
            --accent: #E2E8F0;
            --bg-light: #F8FAFC;
            --bg-card: #FFFFFF;
            --text-main: #0F172A;
            --text-muted: #475569;
            --text-light: #94A3B8;
            --border-color: #E2E8F0;
            --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
            --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
            --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            color: var(--text-main);
            background-color: var(--bg-light);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 顶部通栏工具条 */
        .top-bar {
            background-color: var(--primary-dark);
            color: var(--text-light);
            font-size: 13px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 8px 0;
        }
        .top-bar-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .top-meta span {
            margin-right: 20px;
        }
        .top-meta span i {
            color: var(--secondary);
            margin-right: 5px;
        }

        /* 主导航 */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: #ffffff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
        }
        .nav-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }
        .logo-area {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo-symbol {
            width: 38px;
            height: 38px;
            background: var(--primary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary);
            font-weight: 800;
            font-size: 20px;
        }
        .logo-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: 0.5px;
        }
        .main-nav {
            display: flex;
            align-items: center;
            gap: 28px;
        }
        .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-main);
            position: relative;
            padding: 6px 0;
        }
        .nav-link:hover, .nav-link.active {
            color: var(--secondary);
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }
        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }
        .nav-action .btn-nav {
            background: var(--primary);
            color: #ffffff;
            padding: 9px 20px;
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 600;
            border: 1px solid var(--primary);
        }
        .nav-action .btn-nav:hover {
            background: var(--secondary);
            border-color: var(--secondary);
            color: #ffffff;
        }

        /* 按钮通用 */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 28px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            transition: var(--transition);
        }
        .btn-primary {
            background: var(--secondary);
            color: #ffffff;
            border: 1px solid var(--secondary);
            box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
        }
        .btn-primary:hover {
            background: var(--secondary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(197, 155, 39, 0.4);
        }
        .btn-outline {
            background: transparent;
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.6);
            margin-left: 14px;
        }
        .btn-outline:hover {
            background: #ffffff;
            color: var(--primary);
            transform: translateY(-2px);
        }

        /* 板块通用头部 */
        .section-padding {
            padding: 80px 0;
        }
        .section-head {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 50px;
        }
        .section-tag {
            display: inline-block;
            color: var(--secondary);
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 8px;
        }
        .section-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 16px;
            position: relative;
        }
        .section-desc {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.8;
        }

        /* 1. Hero 工业参数首屏 */
        .hero-section {
            position: relative;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(26, 54, 93, 0.88) 100%), url('/assets/images/b28464ad4b99f244.webp') center/cover no-repeat;
            color: #ffffff;
            padding: 100px 0 80px;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 40px;
            align-items: center;
        }
        .hero-badge {
            display: inline-block;
            background: rgba(197, 155, 39, 0.2);
            border: 1px solid rgba(197, 155, 39, 0.4);
            color: #f7d677;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 20px;
        }
        .hero-h1 {
            font-size: 44px;
            font-weight: 800;
            line-height: 1.25;
            margin-bottom: 22px;
            color: #ffffff;
        }
        .hero-desc {
            font-size: 16px;
            color: #cbd5e1;
            margin-bottom: 35px;
            line-height: 1.8;
        }
        .hero-cta {
            display: flex;
            align-items: center;
        }
        /* 工业参数控制台面板 */
        .hero-spec-card {
            background: rgba(15, 23, 42, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: var(--radius-md);
            padding: 30px;
            backdrop-filter: blur(8px);
        }
        .spec-title {
            font-size: 18px;
            font-weight: 700;
            color: #ffffff;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 12px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
        }
        .spec-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .spec-item {
            border-left: 2px solid var(--secondary);
            padding-left: 12px;
        }
        .spec-val {
            font-size: 26px;
            font-weight: 700;
            color: var(--secondary);
            font-family: Consolas, Monaco, monospace;
        }
        .spec-label {
            font-size: 13px;
            color: #94A3B8;
            margin-top: 4px;
        }
        .spec-footer {
            margin-top: 24px;
            padding-top: 16px;
            border-top: 1px dashed rgba(255, 255, 255, 0.15);
            font-size: 13px;
            color: #cbd5e1;
        }

        /* 2. 核心培训轨道 / 片库式全景矩阵 */
        .rail-track-section {
            background: #ffffff;
        }
        .rail-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .rail-card {
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
        }
        .rail-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--secondary);
        }
        .rail-img-wrap {
            height: 150px;
            overflow: hidden;
            position: relative;
        }
        .rail-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        .rail-card:hover .rail-img-wrap img {
            transform: scale(1.05);
        }
        .rail-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(15, 23, 42, 0.8);
            color: #ffffff;
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 4px;
        }
        .rail-content {
            padding: 18px;
        }
        .rail-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--primary);
        }
        .rail-text {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 3. 热播推荐 / 重点实战研习方案 */
        .featured-section {
            background: var(--bg-light);
        }
        .featured-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr;
            gap: 30px;
        }
        .featured-main {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
        }
        .featured-main-img {
            height: 260px;
            position: relative;
        }
        .featured-main-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .featured-main-body {
            padding: 30px;
        }
        .featured-side-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .side-item {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 20px;
            transition: var(--transition);
        }
        .side-item:hover {
            border-color: var(--secondary);
            box-shadow: var(--shadow-sm);
        }

        /* 4. 类型入口 / 业务细分板块 */
        .category-section {
            background: #ffffff;
        }
        .cat-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }
        .cat-card {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 28px;
            background: var(--bg-light);
            border-top: 3px solid var(--primary);
            transition: var(--transition);
        }
        .cat-card:hover {
            border-top-color: var(--secondary);
            background: #ffffff;
            box-shadow: var(--shadow-md);
        }
        .cat-icon {
            font-size: 24px;
            color: var(--secondary);
            margin-bottom: 16px;
        }
        .cat-title {
            font-size: 19px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 12px;
        }
        .cat-desc {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 16px;
        }
        .cat-link {
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .cat-link:hover {
            color: var(--secondary);
        }

        /* 5. 片单分区 / 进阶实操课程集锦 */
        .playlist-section {
            background: var(--bg-light);
        }
        .playlist-tabs {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 35px;
        }
        .tab-btn {
            padding: 10px 24px;
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-main);
            cursor: pointer;
        }
        .tab-btn.active {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
        }
        .playlist-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .playlist-card {
            background: #ffffff;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .playlist-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 12px;
        }
        .playlist-level {
            font-size: 12px;
            background: rgba(26, 54, 93, 0.08);
            color: var(--primary);
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 600;
        }

        /* 6. 评分榜 / 热门培训实训热度榜 */
        .ranking-section {
            background: #ffffff;
        }
        .rank-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        .rank-list {
            list-style: none;
        }
        .rank-item {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .rank-item:hover {
            background: var(--bg-light);
        }
        .rank-num {
            font-size: 20px;
            font-weight: 800;
            color: var(--text-light);
            width: 36px;
            font-family: Consolas, monospace;
        }
        .rank-item:nth-child(1) .rank-num { color: #e11d48; }
        .rank-item:nth-child(2) .rank-num { color: #ea580c; }
        .rank-item:nth-child(3) .rank-num { color: #ca8a04; }
        .rank-info {
            flex: 1;
        }
        .rank-course {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 4px;
        }
        .rank-meta {
            font-size: 12px;
            color: var(--text-light);
        }
        .rank-score {
            font-size: 14px;
            font-weight: 700;
            color: var(--secondary);
        }

        /* 7. 教学优势与实务壁垒 */
        .advantages-section {
            background: linear-gradient(to bottom, #ffffff, var(--bg-light));
        }
        .adv-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .adv-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            padding: 24px;
            border-radius: var(--radius-md);
            text-align: center;
        }
        .adv-icon-box {
            width: 56px;
            height: 56px;
            margin: 0 auto 18px;
            background: rgba(197, 155, 39, 0.1);
            color: var(--secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: bold;
        }

        /* 8. 沉浸式理念与法律实务沙盘 */
        .dark-concept-section {
            background: var(--primary-dark);
            color: #ffffff;
            position: relative;
            overflow: hidden;
        }
        .concept-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        .concept-content h2 {
            font-size: 32px;
            margin-bottom: 20px;
            color: #ffffff;
        }
        .concept-content p {
            color: #cbd5e1;
            font-size: 15px;
            margin-bottom: 25px;
        }
        .concept-list {
            list-style: none;
        }
        .concept-list li {
            position: relative;
            padding-left: 24px;
            margin-bottom: 14px;
            color: #e2e8f0;
            font-size: 14px;
        }
        .concept-list li::before {
            content: '■';
            position: absolute;
            left: 0;
            color: var(--secondary);
            font-size: 10px;
            top: 2px;
        }
        .concept-visual {
            position: relative;
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        /* 9. 企业法律培训定制流程 */
        .process-section {
            background: #ffffff;
        }
        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            position: relative;
        }
        .process-card {
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 24px;
            position: relative;
        }
        .process-step {
            font-size: 32px;
            font-weight: 800;
            color: rgba(26, 54, 93, 0.15);
            line-height: 1;
            margin-bottom: 12px;
        }
        .process-title {
            font-size: 17px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
        }
        .process-desc {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* 10. 真实法务学员实录与评价墙 */
        .stories-section {
            background: var(--bg-light);
        }
        .stories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .story-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .story-quote {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 20px;
            font-style: italic;
        }
        .story-author {
            display: flex;
            align-items: center;
            gap: 12px;
            border-top: 1px solid var(--border-color);
            padding-top: 15px;
        }
        .author-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--primary);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
        }
        .author-info h4 {
            font-size: 14px;
            color: var(--text-main);
        }
        .author-info p {
            font-size: 12px;
            color: var(--text-light);
        }

        /* 11. 前沿合规与法律资讯动态 */
        .news-section {
            background: #ffffff;
        }
        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .news-card {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            background: #ffffff;
            transition: var(--transition);
        }
        .news-card:hover {
            box-shadow: var(--shadow-md);
        }
        .news-img {
            height: 180px;
        }
        .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .news-body {
            padding: 20px;
        }
        .news-date {
            font-size: 12px;
            color: var(--text-light);
            margin-bottom: 8px;
        }
        .news-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
            line-height: 1.4;
        }
        .news-excerpt {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* 12. 误区澄清 / 法律实务认知对比 */
        .myths-section {
            background: var(--bg-light);
        }
        .myths-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }
        .myth-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 24px;
        }
        .myth-wrong {
            color: #dc2626;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .myth-right {
            color: #16a34a;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .myth-detail {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 13. 常见问题解答 / 法律培训指引 */
        .faq-section {
            background: #ffffff;
        }
        .faq-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .faq-item {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 18px 24px;
            background: var(--bg-light);
        }
        .faq-item summary {
            font-size: 15px;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            outline: none;
        }
        .faq-item p {
            margin-top: 12px;
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 14. 追剧入口 / 高转化咨询预约行动区 (收口CTA) */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #ffffff;
            padding: 80px 0;
            text-align: center;
        }
        .cta-box {
            max-width: 760px;
            margin: 0 auto;
        }
        .cta-box h2 {
            font-size: 34px;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .cta-box p {
            font-size: 16px;
            color: #cbd5e1;
            margin-bottom: 35px;
        }
        .cta-form {
            display: flex;
            gap: 10px;
            max-width: 540px;
            margin: 0 auto 20px;
        }
        .cta-form input {
            flex: 1;
            padding: 14px 18px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            font-size: 14px;
            outline: none;
        }
        .cta-form input::placeholder {
            color: #94a3b8;
        }
        .cta-form button {
            background: var(--secondary);
            color: #ffffff;
            border: none;
            padding: 14px 28px;
            font-weight: 700;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
        }
        .cta-form button:hover {
            background: var(--secondary-hover);
        }
        .cta-phone {
            font-size: 14px;
            color: #cbd5e1;
        }
        .cta-phone span {
            color: var(--secondary);
            font-weight: 700;
            font-size: 18px;
            margin-left: 6px;
        }

        /* 统一页脚 */
        .site-footer {
            background: var(--primary-dark);
            color: #94a3b8;
            padding: 60px 0 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-col h3 {
            color: #ffffff;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 18px;
        }
        .footer-desc {
            font-size: 13px;
            line-height: 1.7;
            margin-top: 12px;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 10px;
        }
        .footer-links a {
            font-size: 13px;
            color: #94a3b8;
        }
        .footer-links a:hover {
            color: var(--secondary);
        }
        .footer-contact p {
            font-size: 13px;
            margin-bottom: 8px;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 25px;
            font-size: 12px;
            text-align: center;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        /* 响应式适配 */
        @media (max-width: 1024px) {
            .hero-grid { grid-template-columns: 1fr; }
            .rail-grid { grid-template-columns: repeat(2, 1fr); }
            .featured-grid { grid-template-columns: 1fr; }
            .cat-grid { grid-template-columns: repeat(2, 1fr); }
            .playlist-grid { grid-template-columns: repeat(2, 1fr); }
            .adv-grid { grid-template-columns: repeat(2, 1fr); }
            .process-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .top-bar { display: none; }
            .main-nav { display: none; } /* 移动端简化 */
            .hero-h1 { font-size: 32px; }
            .section-title { font-size: 26px; }
            .cat-grid, .playlist-grid, .stories-grid, .news-grid, .myths-grid, .faq-grid, .rank-grid {
                grid-template-columns: 1fr;
            }
            .concept-grid { grid-template-columns: 1fr; }
            .cta-form { flex-direction: column; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }
