/* roulang page: index */
:root {
      --primary: #1B4998;
      --primary-dark: #12326b;
      --accent: #00A870;
      --accent-hover: #008f5f;
      --warning: #FF7A00;
      --bg-body: #F8FAFC;
      --bg-white: #FFFFFF;
      --bg-dark: #0B192C;
      --text-main: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 20px;
      --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
      --sidebar-width: 260px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    *, *::before, *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      background-color: var(--bg-body);
      color: var(--text-body);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: var(--transition);
    }
    a:hover {
      color: var(--accent);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* App Shell 侧边栏与桌面布局 */
    .app-shell {
      display: flex;
      min-height: 100vh;
    }

    .app-sidebar {
      width: var(--sidebar-width);
      background: #FFFFFF;
      border-right: 1px solid var(--border-color);
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 1.5rem 1rem;
    }

    .sidebar-brand {
      padding: 0.5rem 0.5rem 1.5rem;
      border-bottom: 1px solid var(--border-color);
    }

    .sidebar-brand a {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.2;
    }

    .brand-badge {
      display: inline-block;
      width: 12px;
      height: 12px;
      background: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 0 3px rgba(0, 168, 112, 0.2);
    }

    .sidebar-nav {
      list-style: none;
      margin: 1.5rem 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      overflow-y: auto;
    }

    .sidebar-nav li a {
      display: flex;
      align-items: center;
      padding: 0.75rem 1rem;
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-body);
      border-radius: var(--radius-sm);
      transition: var(--transition);
    }

    .sidebar-nav li a:hover,
    .sidebar-nav li a.active {
      background: rgba(27, 73, 152, 0.08);
      color: var(--primary);
      font-weight: 600;
      padding-left: 1.2rem;
    }

    .sidebar-footer {
      padding-top: 1rem;
      border-top: 1px solid var(--border-color);
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .sidebar-contact-card {
      background: #F1F5F9;
      border-radius: var(--radius-sm);
      padding: 0.75rem;
      margin-bottom: 0.75rem;
    }

    .sidebar-contact-title {
      font-weight: 600;
      color: var(--text-main);
      font-size: 0.85rem;
      margin-bottom: 0.25rem;
    }

    /* 移动端吸顶条 */
    .mobile-header {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 60px;
      background: #FFFFFF;
      border-bottom: 1px solid var(--border-color);
      z-index: 1001;
      padding: 0 1.25rem;
      align-items: center;
      justify-content: space-between;
    }

    .mobile-brand {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .mobile-menu-btn {
      background: transparent;
      border: 1px solid var(--border-color);
      padding: 6px 12px;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      color: var(--text-main);
      cursor: pointer;
    }

    .mobile-drawer {
      display: none;
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      bottom: 0;
      background: #FFFFFF;
      z-index: 999;
      padding: 1.5rem;
      overflow-y: auto;
      border-top: 1px solid var(--border-color);
    }

    .mobile-drawer.open {
      display: block;
    }

    .main-wrapper {
      margin-left: var(--sidebar-width);
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
    }

    /* 布局与通用组件 */
    .site-section {
      padding: clamp(3.5rem, 6vw, 6rem) 1.5rem;
      position: relative;
    }

    .section-alt {
      background-color: var(--bg-white);
    }

    .section-dark {
      background-color: var(--bg-dark);
      color: #E2E8F0;
    }

    .section-container {
      max-width: 1180px;
      margin: 0 auto;
      width: 100%;
    }

    .section-header {
      margin-bottom: 3rem;
      max-width: 820px;
    }

    .section-header.center {
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }

    .section-tag {
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--accent);
      background: rgba(0, 168, 112, 0.1);
      padding: 0.3rem 0.8rem;
      border-radius: 999px;
      margin-bottom: 0.75rem;
    }

    .section-tag.tag-dark {
      background: rgba(0, 168, 112, 0.2);
      color: #34D399;
    }

    .section-title {
      font-size: clamp(1.6rem, 2.8vw, 2.3rem);
      font-weight: 800;
      color: var(--text-main);
      line-height: 1.3;
      margin-bottom: 1rem;
    }

    .section-dark .section-title {
      color: #FFFFFF;
    }

    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .section-dark .section-desc {
      color: #94A3B8;
    }

    .btn-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 600;
      font-size: 1rem;
      padding: 0.85rem 1.85rem;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: var(--transition);
      border: 1px solid transparent;
      min-height: 44px;
    }

    .btn-primary {
      background-color: var(--primary);
      color: #FFFFFF;
    }
    .btn-primary:hover {
      background-color: var(--primary-dark);
      color: #FFFFFF;
      box-shadow: 0 4px 12px rgba(27, 73, 152, 0.3);
    }

    .btn-accent {
      background-color: var(--accent);
      color: #FFFFFF;
    }
    .btn-accent:hover {
      background-color: var(--accent-hover);
      color: #FFFFFF;
      box-shadow: 0 4px 12px rgba(0, 168, 112, 0.3);
    }

    .btn-outline {
      border-color: #CBD5E1;
      background: #FFFFFF;
      color: var(--text-main);
    }
    .btn-outline:hover {
      background: #F1F5F9;
      border-color: #94A3B8;
    }

    .custom-card {
      background: #FFFFFF;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      padding: 2rem;
      transition: var(--transition);
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .custom-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(27, 73, 152, 0.3);
    }

    /* 板块 1: Hero 全宽沉浸 KV */
    .hero-section {
      position: relative;
      background: linear-gradient(rgba(11, 25, 44, 0.78), rgba(11, 25, 44, 0.88)), url('/assets/images/67c16ca85f52046c.png') center/cover no-repeat;
      color: #FFFFFF;
      padding: clamp(5rem, 9vw, 8rem) 1.5rem clamp(4rem, 7vw, 6rem);
      display: flex;
      align-items: center;
    }

    .hero-content {
      max-width: 860px;
    }

    .hero-badge-strip {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(8px);
      padding: 0.4rem 1rem;
      border-radius: 999px;
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-title {
      font-size: clamp(2rem, 3.8vw, 3.2rem);
      font-weight: 800;
      line-height: 1.25;
      color: #FFFFFF;
      margin-bottom: 1.5rem;
    }

    .hero-desc {
      font-size: 1.15rem;
      line-height: 1.8;
      color: #E2E8F0;
      margin-bottom: 2.2rem;
      max-width: 780px;
    }

    .hero-cta-group {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 2.5rem;
    }

    .hero-countdown-strip {
      background: rgba(15, 23, 42, 0.65);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-md);
      padding: 1.25rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .countdown-label {
      font-size: 0.95rem;
      color: #CBD5E1;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .countdown-timer {
      display: flex;
      gap: 12px;
      font-family: monospace;
      font-size: 1.2rem;
      font-weight: 700;
      color: #34D399;
    }

    .timer-unit {
      background: rgba(255, 255, 255, 0.1);
      padding: 0.25rem 0.6rem;
      border-radius: 4px;
    }

    /* 板块 2: 痛点剖析 */
    .pain-card {
      position: relative;
      border-top: 4px solid var(--warning);
    }
    .pain-metric {
      font-size: 2rem;
      font-weight: 800;
      color: var(--warning);
      margin-bottom: 0.5rem;
      line-height: 1;
    }
    .pain-tag {
      font-size: 0.8rem;
      font-weight: 600;
      color: #B45309;
      background: #FEF3C7;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 0.75rem;
    }

    /* 板块 3: 解决方案图文互动 */
    .solution-layout {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 3rem;
      align-items: center;
    }

    .solution-image-box {
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-hover);
      border: 1px solid var(--border-color);
      position: relative;
    }

    .solution-step-item {
      display: flex;
      gap: 1.25rem;
      margin-bottom: 1.5rem;
    }

    .step-index-badge {
      width: 44px;
      height: 44px;
      background: var(--primary);
      color: #FFFFFF;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      flex-shrink: 0;
      font-size: 1.1rem;
    }

    /* 板块 4: 算法支撑 6 宫格 */
    .tech-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1.5rem;
    }

    .tech-card {
      background: #FFFFFF;
      padding: 1.75rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
    .tech-card:hover {
      border-color: var(--accent);
      transform: translateY(-3px);
    }

    /* 板块 5: 硬件终端矩阵 */
    .hardware-card {
      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;
    }
    .hardware-img-wrap {
      height: 220px;
      background: #F1F5F9;
      overflow: hidden;
    }
    .hardware-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }
    .hardware-card:hover .hardware-img-wrap img {
      transform: scale(1.04);
    }
    .hardware-info {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .hardware-spec-tag {
      font-size: 0.75rem;
      color: var(--primary);
      background: rgba(27, 73, 152, 0.08);
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      margin-bottom: 0.5rem;
      align-self: flex-start;
    }

    /* 板块 6: 沉浸式深色大屏看板 */
    .dashboard-preview-card {
      background: #112240;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-lg);
      padding: 2.5rem;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

    .dash-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .dash-stat-box {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-sm);
      padding: 1.5rem;
    }

    .dash-stat-val {
      font-size: 2.2rem;
      font-weight: 800;
      color: #38BDF8;
      line-height: 1.1;
      margin-bottom: 0.5rem;
    }

    /* 板块 7: 标准化实施步骤 */
    .process-timeline {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      position: relative;
    }

    .process-card {
      background: #FFFFFF;
      padding: 1.75rem 1.25rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      position: relative;
    }

    .process-step-num {
      font-size: 2.8rem;
      font-weight: 900;
      color: rgba(27, 73, 152, 0.1);
      position: absolute;
      top: 10px;
      right: 15px;
      line-height: 1;
    }

    /* 板块 8: 核心效益数据看板 */
    .metric-strip-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }
    .metric-data-card {
      text-align: center;
      padding: 2.5rem 1.5rem;
      background: #FFFFFF;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .metric-big-num {
      font-size: 3rem;
      font-weight: 900;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    .metric-unit {
      font-size: 1.5rem;
      color: var(--accent);
    }

    /* 板块 9: 示范校实操案例 */
    .case-card-layout {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 2.5rem;
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .case-img-box {
      min-height: 380px;
      background: #E2E8F0;
    }
    .case-img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .case-detail-content {
      padding: 2.5rem 2.5rem 2.5rem 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    /* 板块 10: 学段适用矩阵 */
    .scenario-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    /* 板块 11: 资讯与政策指引 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.75rem;
    }
    .news-card {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 1.75rem;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .news-date {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
    }

    /* 板块 12: FAQ 手风琴面板 */
    .faq-accordion-box {
      max-width: 900px;
      margin: 0 auto;
    }
    .faq-item {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      margin-bottom: 1rem;
      overflow: hidden;
      transition: var(--transition);
    }
    .faq-question {
      padding: 1.25rem 1.5rem;
      font-weight: 700;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #FFFFFF;
      user-select: none;
    }
    .faq-question::after {
      content: "+";
      font-size: 1.4rem;
      font-weight: 400;
      color: var(--primary);
      transition: var(--transition);
    }
    .faq-item.active .faq-question::after {
      content: "−";
      transform: rotate(180deg);
    }
    .faq-answer {
      display: none;
      padding: 0 1.5rem 1.5rem;
      color: var(--text-body);
      font-size: 0.95rem;
      line-height: 1.7;
      border-top: 1px solid #F1F5F9;
      padding-top: 1rem;
    }
    .faq-item.active .faq-answer {
      display: block;
    }

    /* 板块 13: 转化与申报表单 */
    .contact-card-wrapper {
      background: #FFFFFF;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-hover);
      padding: 3rem;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 3rem;
    }
    .form-group {
      margin-bottom: 1.25rem;
    }
    .form-label {
      display: block;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 0.5rem;
    }
    .form-control {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-size: 0.95rem;
      outline: none;
      transition: var(--transition);
      background: #F8FAFC;
    }
    .form-control:focus {
      border-color: var(--primary);
      background: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(27, 73, 152, 0.15);
    }

    /* 页脚 */
    .site-footer {
      background: #0F172A;
      color: #94A3B8;
      padding: 4rem 1.5rem 2rem;
      font-size: 0.9rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 3rem;
      max-width: 1180px;
      margin: 0 auto 3rem;
    }
    .footer-brand {
      font-size: 1.3rem;
      font-weight: 700;
      color: #FFFFFF;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .footer-links-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links-list li {
      margin-bottom: 0.6rem;
    }
    .footer-links-list a {
      color: #94A3B8;
    }
    .footer-links-list a:hover {
      color: #FFFFFF;
    }
    .footer-bottom {
      max-width: 1180px;
      margin: 0 auto;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 1rem;
      font-size: 0.85rem;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .app-sidebar {
        display: none;
      }
      .mobile-header {
        display: flex;
      }
      .main-wrapper {
        margin-left: 0;
        padding-top: 60px;
      }
      .solution-layout,
      .case-card-layout,
      .contact-card-wrapper {
        grid-template-columns: 1fr;
      }
      .case-detail-content {
        padding: 2rem;
      }
      .process-timeline,
      .metric-strip-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .dash-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .scenario-grid,
      .news-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .process-timeline,
      .metric-strip-grid {
        grid-template-columns: 1fr;
      }
      .contact-card-wrapper {
        padding: 1.5rem;
      }
      .dashboard-preview-card {
        padding: 1.5rem;
      }
      .site-section {
        padding: 3rem 1rem;
      }
    }
