/* roulang page: index */
:root {
      --primary: #0f172a;
      --primary-light: #1e293b;
      --accent: #6366f1;
      --accent-hover: #4f46e5;
      --cyan: #06b6d4;
      --text-main: #334155;
      --text-head: #0f172a;
      --text-muted: #64748b;
      --bg-main: #f8fafc;
      --bg-card: #ffffff;
      --bg-dark: #090d16;
      --border-color: rgba(226, 232, 240, 0.9);
      --border-dark: rgba(255, 255, 255, 0.08);
      --radius: 12px;
      --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 12px 28px -4px rgba(99, 102, 241, 0.15);
      --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-main);
      color: var(--text-main);
      line-height: 1.75;
    }

    body {
      overflow-x: hidden;
      width: 100%;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 顶部微栏与主导航 */
    .header-wrapper {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }

    .top-bar {
      background: var(--primary);
      color: #94a3b8;
      font-size: 13px;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-bar a:hover {
      color: #fff;
    }

    .main-nav {
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 22px;
      font-weight: 700;
      color: var(--text-head);
      letter-spacing: -0.5px;
    }

    .brand-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--accent), var(--cyan));
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 18px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-head);
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
      min-height: 44px;
      text-align: center;
    }

    .btn-primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }

    .btn-outline {
      background: transparent;
      border-color: var(--border-color);
      color: var(--text-head);
    }

    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .btn-secondary {
      background: #fff;
      color: var(--text-head);
      border-color: #cbd5e1;
    }

    .btn-secondary:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    /* 移动端汉堡菜单 */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text-head);
    }

    /* 统一 Section 规则 */
    section {
      padding: 96px 0;
      position: relative;
    }

    .section-title-wrap {
      margin-bottom: 56px;
      max-width: 760px;
    }

    .section-title-wrap.center {
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }

    .section-badge {
      display: inline-block;
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--accent);
      background: rgba(99, 102, 241, 0.08);
      padding: 4px 12px;
      border-radius: 999px;
      margin-bottom: 12px;
    }

    .section-title {
      font-size: 34px;
      line-height: 1.3;
      color: var(--text-head);
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }

    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.75;
    }

    /* 板块 1: Hero (促销/特惠主视觉) */
    #hero {
      padding: 120px 0 100px;
      background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%), url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
      background-blend-mode: overlay;
      position: relative;
    }

    .hero-container {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 48px;
      align-items: center;
    }

    .hero-badge-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .burst-tag {
      background: linear-gradient(135deg, #ef4444, #f97316);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 4px;
      box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }

    .hero-h1 {
      font-size: 46px;
      line-height: 1.2;
      color: var(--primary);
      margin-bottom: 24px;
      font-weight: 800;
      letter-spacing: -1px;
    }

    .hero-desc {
      font-size: 16px;
      color: #475569;
      margin-bottom: 32px;
      line-height: 1.8;
    }

    .hero-btn-group {
      display: flex;
      gap: 16px;
      margin-bottom: 32px;
    }

    .hero-notice {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .hero-card {
      background: #fff;
      border-radius: 16px;
      padding: 32px;
      border: 1px solid var(--border-color);
      box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.08);
      position: relative;
    }

    .hero-card-img {
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 20px;
    }

    .hero-card h3 {
      font-size: 20px;
      color: var(--text-head);
      margin-bottom: 10px;
    }

    .hero-param-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 16px;
    }

    .hero-param-item {
      background: var(--bg-main);
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 13px;
    }

    .hero-param-item strong {
      display: block;
      color: var(--accent);
      font-size: 15px;
    }

    /* 板块 2: 痛点与传统NPC困局 */
    #pain-points {
      background: #ffffff;
      border-bottom: 1px solid var(--border-color);
    }

    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .pain-card {
      background: var(--bg-main);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 32px;
      transition: var(--transition);
      position: relative;
    }

    .pain-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-sm);
    }

    .pain-icon {
      font-size: 24px;
      margin-bottom: 16px;
      color: #ef4444;
    }

    .pain-card h3 {
      font-size: 20px;
      color: var(--text-head);
      margin-bottom: 12px;
    }

    .pain-card p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 板块 3: 解决方案与多模态架构 */
    #about {
      background: var(--bg-main);
    }

    .solution-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }

    .solution-content h3 {
      font-size: 26px;
      color: var(--text-head);
      margin-bottom: 16px;
    }

    .solution-list {
      list-style: none;
      margin: 24px 0;
    }

    .solution-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 15px;
      margin-bottom: 16px;
      color: var(--text-main);
    }

    .check-icon {
      color: var(--accent);
      font-weight: bold;
    }

    .solution-visual {
      background: #fff;
      padding: 24px;
      border-radius: var(--radius);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }

    /* 板块 4: 核心优势矩阵 */
    #advantages {
      background: #ffffff;
    }

    .adv-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .adv-card {
      background: var(--bg-main);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 28px;
      transition: var(--transition);
    }

    .adv-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .adv-icon {
      width: 44px;
      height: 44px;
      background: rgba(99, 102, 241, 0.1);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-weight: bold;
      margin-bottom: 18px;
    }

    .adv-card h3 {
      font-size: 18px;
      color: var(--text-head);
      margin-bottom: 10px;
    }

    .adv-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* 板块 5: 场景演示矩阵 */
    #products {
      background: #f1f5f9;
    }

    .scene-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .scene-card {
      background: #fff;
      border-radius: var(--radius);
      border: 1px solid var(--border-color);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }

    .scene-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .scene-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .scene-card-body {
      padding: 24px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .scene-card-body h3 {
      font-size: 19px;
      color: var(--text-head);
      margin-bottom: 12px;
    }

    .scene-card-body p {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 20px;
      line-height: 1.65;
    }

    .scene-tags {
      display: flex;
      gap: 8px;
      margin-top: auto;
      flex-wrap: wrap;
    }

    .scene-tag {
      font-size: 12px;
      background: var(--bg-main);
      padding: 4px 8px;
      border-radius: 4px;
      color: #475569;
    }

    /* 板块 6: 架构理念对比 (深色高反差) */
    #philosophy {
      background: var(--bg-dark);
      color: #f8fafc;
    }

    #philosophy .section-title {
      color: #fff;
    }

    #philosophy .section-desc {
      color: #94a3b8;
    }

    .compare-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 32px;
      border-radius: 8px;
      overflow: hidden;
    }

    .compare-table th, .compare-table td {
      padding: 18px 24px;
      text-align: left;
      border-bottom: 1px solid var(--border-dark);
    }

    .compare-table th {
      background: rgba(255, 255, 255, 0.05);
      font-size: 16px;
      color: #e2e8f0;
    }

    .compare-table td {
      font-size: 14px;
      color: #cbd5e1;
    }

    .compare-table tr:hover td {
      background: rgba(255, 255, 255, 0.02);
    }

    .highlight-cell {
      color: var(--cyan) !important;
      font-weight: 600;
    }

    /* 板块 7: 接入流程导引 */
    #process {
      background: #ffffff;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
    }

    .process-card {
      position: relative;
      background: var(--bg-main);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 24px;
    }

    .process-num {
      font-size: 32px;
      font-weight: 800;
      color: var(--accent);
      opacity: 0.8;
      margin-bottom: 12px;
    }

    .process-card h3 {
      font-size: 17px;
      color: var(--text-head);
      margin-bottom: 8px;
    }

    .process-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 板块 8: 落地故事与深度案例 */
    #stories {
      background: var(--bg-main);
    }

    .story-item {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 32px;
    }

    .story-item.reverse {
      grid-template-columns: 1fr 1fr;
    }

    .story-item.reverse .story-img {
      order: 2;
    }

    .story-img img {
      width: 100%;
      height: 100%;
      min-height: 320px;
      object-fit: cover;
    }

    .story-content {
      padding: 40px;
    }

    .story-content h3 {
      font-size: 22px;
      color: var(--text-head);
      margin-bottom: 12px;
    }

    .story-content p {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 16px;
      line-height: 1.7;
    }

    .story-badge {
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      color: #059669;
      background: #ecfdf5;
      padding: 4px 10px;
      border-radius: 4px;
      margin-bottom: 12px;
    }

    /* 板块 9: 关键量化数据条 */
    #metrics {
      background: var(--primary);
      color: #fff;
      padding: 64px 0;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }

    .metric-val {
      font-size: 42px;
      font-weight: 800;
      color: var(--cyan);
      margin-bottom: 8px;
      font-family: monospace, sans-serif;
    }

    .metric-label {
      font-size: 14px;
      color: #94a3b8;
    }

    /* 板块 10: 行业客户口碑评价 */
    #testimonials {
      background: #ffffff;
    }

    .testi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .testi-card {
      background: var(--bg-main);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .testi-text {
      font-size: 14px;
      color: #475569;
      line-height: 1.7;
      margin-bottom: 24px;
      font-style: italic;
    }

    .testi-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .testi-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #cbd5e1;
    }

    .testi-name {
      font-size: 15px;
      font-weight: 600;
      color: var(--text-head);
    }

    .testi-role {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 板块 11: 资讯与技术白皮书 */
    #news {
      background: var(--bg-main);
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .news-card {
      background: #fff;
      border-radius: var(--radius);
      border: 1px solid var(--border-color);
      padding: 24px;
      display: flex;
      flex-direction: column;
    }

    .news-date {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .news-card h3 {
      font-size: 17px;
      color: var(--text-head);
      margin-bottom: 10px;
    }

    .news-card p {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 16px;
      flex-grow: 1;
    }

    .news-link {
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
      align-self: flex-start;
    }

    /* 板块 12: 技术服务套餐对比 */
    #pricing {
      background: #ffffff;
    }

    .plan-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .plan-card {
      background: var(--bg-main);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 36px 28px;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .plan-card.featured {
      border-color: var(--accent);
      box-shadow: var(--shadow-hover);
      background: #fff;
    }

    .plan-badge {
      position: absolute;
      top: -12px;
      right: 24px;
      background: var(--accent);
      color: #fff;
      font-size: 12px;
      padding: 2px 10px;
      border-radius: 999px;
      font-weight: 600;
    }

    .plan-card h3 {
      font-size: 20px;
      color: var(--text-head);
      margin-bottom: 8px;
    }

    .plan-price {
      font-size: 32px;
      font-weight: 800;
      color: var(--text-head);
      margin: 16px 0;
    }

    .plan-price span {
      font-size: 14px;
      font-weight: 400;
      color: var(--text-muted);
    }

    .plan-features {
      list-style: none;
      margin-bottom: 32px;
      flex-grow: 1;
    }

    .plan-features li {
      font-size: 14px;
      color: var(--text-main);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* 板块 13: 平台技术保障条 */
    #security {
      background: #0f172a;
      color: #fff;
      padding: 48px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .security-flex {
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
    }

    .security-item {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .security-item-icon {
      font-size: 24px;
      color: var(--cyan);
    }

    .security-item h4 {
      font-size: 15px;
      margin-bottom: 2px;
    }

    .security-item p {
      font-size: 12px;
      color: #94a3b8;
    }

    /* 板块 14: 常见问题解答 FAQ */
    #faq {
      background: var(--bg-main);
    }

    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    details.faq-item {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      margin-bottom: 12px;
      padding: 18px 24px;
      transition: var(--transition);
    }

    details.faq-item[open] {
      border-color: var(--accent);
box-shadow: var(--shadow-sm);
    }

    summary.faq-question {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-head);
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }

    summary.faq-question::-webkit-details-marker {
      display: none;
    }

    summary.faq-question::after {
      content: '+';
      font-size: 20px;
      color: var(--accent);
      font-weight: 400;
      transition: transform 0.2s ease;
    }

    details[open] summary.faq-question::after {
      content: '−';
    }

    .faq-answer {
      margin-top: 14px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.75;
      border-top: 1px solid var(--border-color);
      padding-top: 12px;
    }

    /* 板块 15: 转化表单与体验申请 */
    #cta {
      background: linear-gradient(135deg, #090d16 0%, #1e1b4b 100%);
      color: #fff;
      padding: 96px 0;
      text-align: center;
    }

    #cta .section-title {
      color: #fff;
    }

    #cta .section-desc {
      color: #cbd5e1;
      max-width: 620px;
      margin: 0 auto 36px;
    }

    .cta-form-box {
      max-width: 580px;
      margin: 0 auto;
      background: rgba(255, 255, 255, 0.04);
      padding: 36px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(10px);
    }

    .cta-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-input {
      width: 100%;
      height: 46px;
      padding: 0 16px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 8px;
      color: #fff;
      font-size: 14px;
      outline: none;
      transition: var(--transition);
    }

    .form-input:focus {
      border-color: var(--cyan);
      background: rgba(255, 255, 255, 0.12);
    }

    .form-input::placeholder {
      color: #94a3b8;
    }

    /* 页脚 Footer */
    footer {
      background: #090d16;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      color: #94a3b8;
      padding: 72px 0 32px;
      font-size: 14px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 48px;
      margin-bottom: 56px;
    }

    .footer-brand h4 {
      font-size: 20px;
      color: #fff;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .footer-brand p {
      font-size: 13px;
      line-height: 1.7;
      color: #64748b;
    }

    .footer-col h5 {
      font-size: 15px;
      color: #f8fafc;
      margin-bottom: 18px;
    }

    .footer-col ul {
      list-style: none;
    }

    .footer-col li {
      margin-bottom: 10px;
    }

    .footer-col a {
      color: #94a3b8;
      font-size: 13px;
    }

    .footer-col a:hover {
      color: #fff;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding-top: 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: #64748b;
      flex-wrap: wrap;
      gap: 12px;
    }

    /* 响应式样式适配 */
    @media (max-width: 1024px) {
      .hero-container {
        grid-template-columns: 1fr;
      }
      .pain-grid, .adv-grid, .scene-grid, .testi-grid, .news-grid, .plan-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .process-grid, .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .solution-layout, .story-item, .story-item.reverse {
        grid-template-columns: 1fr;
      }
      .story-item.reverse .story-img {
        order: unset;
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .menu-toggle {
        display: block;
      }
      .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 12px 24px rgba(0,0,0,0.06);
      }
      .nav-links.active {
        display: flex;
      }
      .hero-h1 {
        font-size: 32px;
      }
      .section-title {
        font-size: 26px;
      }
      .pain-grid, .adv-grid, .scene-grid, .testi-grid, .news-grid, .plan-grid, .process-grid, .metrics-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .form-row {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
      }
    }
