/* roulang page: index */
:root {
      --primary-dark: #0F172A;
      --brand-indigo: #4F46E5;
      --brand-cyan: #06B6D4;
      --emerald: #10B981;
      --amber: #F59E0B;
      --bg-slate: #F8FAFC;
      --bg-card: #FFFFFF;
      --bg-deep: #090D16;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --text-light: #F1F5F9;
      --border-subtle: rgba(226, 232, 240, 0.9);
      --border-dark: rgba(255, 255, 255, 0.08);
      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-full: 9999px;
      --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 20px 30px -10px rgba(79, 70, 229, 0.16);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-slate);
      color: var(--text-main);
      line-height: 1.6;
    }

    body {
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
    }

    /* 顶栏与主导航 */
    .top-bar {
      background-color: #0b1120;
      color: #94a3b8;
      font-size: 13px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      padding: 8px 0;
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(16, 185, 129, 0.12);
      color: #34d399;
      padding: 2px 10px;
      border-radius: var(--radius-full);
      font-size: 12px;
      font-weight: 500;
    }
    .pulse-dot {
      width: 7px;
      height: 7px;
      background-color: var(--emerald);
      border-radius: 50%;
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
      70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
      100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 74px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 21px;
      font-weight: 800;
      color: var(--primary-dark);
      letter-spacing: -0.5px;
    }
    .brand-logo .logo-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--brand-indigo), var(--brand-cyan));
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 900;
      font-size: 18px;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 22px;
    }
    .nav-link {
      font-size: 14px;
      font-weight: 500;
      color: #475569;
      position: relative;
      padding: 6px 0;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--brand-indigo);
    }
    .nav-link:hover::after, .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--brand-indigo);
      border-radius: 2px;
    }

    .nav-btn {
      background: linear-gradient(135deg, var(--brand-indigo), #3730A3);
      color: #ffffff;
      padding: 10px 22px;
      border-radius: var(--radius-full);
      font-size: 14px;
      font-weight: 600;
      box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .nav-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
      color: #fff;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--primary-dark);
      cursor: pointer;
    }

    /* 视觉基础组件与样式 */
    .section-wrap {
      padding: 80px 0;
      position: relative;
    }
    .section-wrap.dark-theme {
      background-color: var(--bg-deep);
      color: var(--text-light);
    }
    .section-wrap.slate-theme {
      background-color: #F1F5F9;
    }
    .section-header {
      text-align: center;
      max-width: 820px;
      margin: 0 auto 50px auto;
    }
    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(79, 70, 229, 0.08);
      color: var(--brand-indigo);
      padding: 6px 16px;
      border-radius: var(--radius-full);
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 14px;
      letter-spacing: 0.5px;
    }
    .dark-theme .section-tag {
      background: rgba(6, 182, 212, 0.15);
      color: var(--brand-cyan);
    }
    .section-title {
      font-size: 32px;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 16px;
      color: var(--primary-dark);
      letter-spacing: -0.5px;
    }
    .dark-theme .section-title {
      color: #FFFFFF;
    }
    .section-subtitle {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.7;
    }
    .dark-theme .section-subtitle {
      color: #94A3B8;
    }

    /* 沉浸式 Hero KV */
    .hero-kv-banner {
      position: relative;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(9, 13, 22, 0.98)), url('/assets/images/94ab65d08d53861b.webp') center/cover no-repeat;
      color: #fff;
      padding: 100px 0 80px 0;
      overflow: hidden;
      border-bottom: 1px solid var(--border-dark);
    }
    .hero-content-box {
      max-width: 880px;
      margin: 0 auto;
      text-align: center;
    }
    .hero-h1 {
      font-size: 44px;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 24px;
      background: linear-gradient(135deg, #FFFFFF 30%, #38BDF8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-desc {
      font-size: 17px;
      color: #CBD5E1;
      line-height: 1.8;
      margin-bottom: 36px;
      text-align: justify;
      text-align-last: center;
    }
    .hero-countdown-strip {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      background: rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      padding: 10px 24px;
      border-radius: var(--radius-full);
      margin-bottom: 36px;
      font-size: 14px;
      color: #E2E8F0;
    }
    .cd-badge {
      background: #EF4444;
      color: #fff;
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 700;
      font-size: 12px;
    }
    .cd-time {
      font-family: monospace;
      color: var(--amber);
      font-weight: 700;
      letter-spacing: 1px;
    }
    .hero-action-group {
      display: flex;
      justify-content: center;
      gap: 18px;
      flex-wrap: wrap;
      margin-bottom: 50px;
    }
    .btn-hero-primary {
      background: linear-gradient(135deg, var(--brand-indigo), var(--brand-cyan));
      color: #ffffff;
      padding: 14px 34px;
      border-radius: var(--radius-full);
      font-size: 16px;
      font-weight: 700;
      box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    }
    .btn-hero-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 30px rgba(6, 182, 212, 0.5);
      color: #fff;
    }
    .btn-hero-secondary {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #FFFFFF;
      padding: 14px 30px;
      border-radius: var(--radius-full);
      font-size: 16px;
      font-weight: 600;
    }
    .btn-hero-secondary:hover {
      background: rgba(255, 255, 255, 0.2);
      color: #fff;
    }

    .hero-trust-bar {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 30px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }
    .trust-title {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: #64748B;
    }
    .trust-badges-flow {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .trust-chip {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 6px 16px;
      border-radius: var(--radius-sm);
      font-size: 13px;
      color: #94A3B8;
    }

    /* 裂变邀请蓝图模块 */
    .fission-invite-box {
      background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
      border: 1px solid rgba(79, 70, 229, 0.3);
      border-radius: var(--radius-lg);
      padding: 36px;
      color: #FFFFFF;
      box-shadow: var(--shadow-sm);
    }
    .fission-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
      flex-wrap: wrap;
      gap: 16px;
    }
    .progress-track {
      background: rgba(255, 255, 255, 0.1);
      height: 12px;
      border-radius: 6px;
      overflow: hidden;
      margin: 16px 0;
      position: relative;
    }
    .progress-fill {
      background: linear-gradient(90deg, var(--emerald), var(--brand-cyan));
      height: 100%;
      width: 68%;
      border-radius: 6px;
    }
    .rank-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 16px;
      margin-top: 24px;
    }
    .rank-item {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .rank-num {
      width: 28px;
      height: 28px;
      background: var(--amber);
      color: #000;
      font-weight: 800;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
    }

    /* 通用圆角大卡网格 */
    .card-grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .card-grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .card-grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
    .rounded-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 32px 28px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      position: relative;
      display: flex;
      flex-direction: column;
    }
    .rounded-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(79, 70, 229, 0.3);
    }
    .dark-theme .rounded-card {
      background-color: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-dark);
      color: #E2E8F0;
    }
    .dark-theme .rounded-card:hover {
      background-color: rgba(255, 255, 255, 0.05);
      border-color: var(--brand-indigo);
      box-shadow: 0 16px 30px -10px rgba(6, 182, 212, 0.2);
    }

    .card-badge-top {
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: var(--radius-full);
      margin-bottom: 18px;
    }
    .badge-danger {
      background: #FEE2E2;
      color: #B91C1C;
    }
    .badge-success {
      background: #D1FAE5;
      color: #047857;
    }
    .badge-indigo {
      background: #EEF2FF;
      color: #4338CA;
    }
    .card-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 12px;
    }
    .dark-theme .card-title {
      color: #FFFFFF;
    }
    .card-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
      flex-grow: 1;
    }
    .dark-theme .card-text {
      color: #94A3B8;
    }

    /* 痛点对比卡片定制 */
    .solution-box {
      border-top: 1px dashed #E2E8F0;
      padding-top: 16px;
      margin-top: auto;
    }
    .solution-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--brand-indigo);
      margin-bottom: 6px;
    }

    /* 架构指标条 */
    .metric-strip {
      background: linear-gradient(135deg, #1E293B, #0F172A);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-lg);
      padding: 40px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
    .metric-item {
      position: relative;
    }
    .metric-item:not(:last-child)::after {
      content: '';
      position: absolute;
      right: 0;
      top: 15%;
      height: 70%;
      width: 1px;
      background: rgba(255, 255, 255, 0.1);
    }
    .metric-val {
      font-size: 40px;
      font-weight: 900;
      background: linear-gradient(135deg, #38BDF8, #818CF8);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 6px;
      font-family: system-ui, sans-serif;
    }
    .metric-lbl {
      color: #E2E8F0;
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .metric-sub {
      color: #94A3B8;
      font-size: 12px;
    }

    /* 六步方法论时间轴 */
    .step-timeline-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
      position: relative;
    }
    .step-card {
      background: #FFFFFF;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px 18px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }
    .step-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }
    .step-index {
      font-size: 18px;
      font-weight: 900;
      color: var(--brand-indigo);
    }
    .step-target {
      font-size: 11px;
      background: #F1F5F9;
      padding: 2px 6px;
      border-radius: 4px;
      color: #475569;
    }
    .step-title {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--primary-dark);
    }
    .step-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 工业级研发理念深色区块 */
    .ide-mockup {
      background: #000000;
      border-radius: var(--radius-md);
      border: 1px solid rgba(255, 255, 255, 0.15);
      padding: 20px;
      font-family: "Fira Code", Consolas, monospace;
      font-size: 13px;
      color: #38BDF8;
      box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }
    .ide-header {
      display: flex;
      gap: 8px;
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .ide-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    /* 案例展台与成果 */
    .case-card {
      background: #FFFFFF;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
    }
    .case-img-box {
      height: 220px;
      overflow: hidden;
      position: relative;
    }
    .case-img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }
    .case-card:hover .case-img-box img {
      transform: scale(1.05);
    }
    .case-body {
      padding: 28px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .case-tags-line {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }

    /* 资讯摘要卡 */
    .insight-card {
      background: #FFFFFF;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 28px;
      display: flex;
      flex-direction: column;
    }
    .insight-meta {
      display: flex;
      justify-content: space-between;
      color: var(--text-muted);
      font-size: 13px;
      margin-bottom: 14px;
    }

    /* FAQ 手风琴样式 */
    .faq-wrapper {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .faq-item {
      background: #FFFFFF;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: var(--transition);
    }
    .faq-summary {
      padding: 20px 24px;
      font-size: 16px;
      font-weight: 700;
      color: var(--primary-dark);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-summary::marker {
      display: none;
    }
    .faq-summary::-webkit-details-marker {
      display: none;
    }
    .faq-icon {
      font-size: 18px;
      color: var(--brand-indigo);
      font-weight: bold;
      transition: transform 0.2s ease;
    }
    details[open] .faq-icon {
      transform: rotate(45deg);
    }
    .faq-content {
      padding: 0 24px 22px 24px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.8;
      border-top: 1px solid #F1F5F9;
      padding-top: 14px;
    }

    /* 底部收口与预约表单 */
    .cta-card-box {
      background: radial-gradient(circle at 10% 20%, #1e1b4b 0%, #0f172a 90%);
      border-radius: var(--radius-lg);
      padding: 56px 48px;
      color: #FFFFFF;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 48px;
      align-items: center;
      box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }
    .cta-form {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 32px;
      border-radius: var(--radius-md);
      backdrop-filter: blur(12px);
    }
    .form-group {
      margin-bottom: 18px;
    }
    .form-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 8px;
      color: #CBD5E1;
    }
    .form-control {
      width: 100%;
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      color: #FFFFFF;
      font-size: 14px;
      outline: none;
      transition: var(--transition);
    }
    .form-control:focus {
      border-color: var(--brand-cyan);
      box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
    }
    .form-select {
      width: 100%;
      background: #0f172a;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      color: #FFFFFF;
      font-size: 14px;
      outline: none;
    }
    .btn-submit {
      width: 100%;
      background: linear-gradient(135deg, var(--brand-indigo), var(--brand-cyan));
      border: none;
      border-radius: var(--radius-full);
      color: #FFFFFF;
      font-size: 15px;
      font-weight: 700;
      padding: 14px 20px;
      cursor: pointer;
      box-shadow: 0 10px 20px rgba(79, 70, 229, 0.35);
      transition: var(--transition);
      margin-top: 8px;
    }
    .btn-submit:hover {
      box-shadow: 0 12px 25px rgba(6, 182, 212, 0.45);
      transform: translateY(-2px);
    }

    /* 页脚系统 */
    .site-footer {
      background-color: #070B12;
      color: #94A3B8;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 64px 0 28px 0;
      font-size: 14px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 48px;
    }
    .footer-brand-title {
      font-size: 20px;
      font-weight: 800;
      color: #FFFFFF;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .footer-brand-p {
      line-height: 1.7;
      margin-bottom: 18px;
      font-size: 13px;
    }
    .footer-title {
      font-size: 15px;
      font-weight: 700;
      color: #F8FAFC;
      margin-bottom: 18px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a:hover {
      color: var(--brand-cyan);
    }
    .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: 13px;
      color: #64748B;
      flex-wrap: wrap;
      gap: 14px;
    }
    .footer-bottom a {
      color: #64748B;
    }
    .footer-bottom a:hover {
      color: #94A3B8;
    }

    /* 移动端断点适配 */
    @media (max-width: 1024px) {
      .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
      .step-timeline-grid { grid-template-columns: repeat(3, 1fr); }
      .metric-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
      .metric-item:nth-child(2)::after { display: none; }
      .cta-card-box { grid-template-columns: 1fr; gap: 36px; padding: 40px 28px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .menu-toggle { display: block; }
      .main-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-subtle);
      }
      .main-nav.open { display: flex; }
      .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
      .card-grid-4 { grid-template-columns: 1fr; }
      .step-timeline-grid { grid-template-columns: 1fr; }
      .hero-h1 { font-size: 30px; }
      .hero-desc { font-size: 15px; }
      .hero-action-group { flex-direction: column; }
      .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; }
      .metric-strip { grid-template-columns: 1fr; }
      .metric-item::after { display: none; }
      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }
