/* roulang page: index */
:root {
      --primary: #2A5C82;
      --primary-hover: #1e4563;
      --primary-light: #eef5fa;
      --primary-dark: #16364f;
      --accent: #0ea5e9;
      --bg-base: #F8F9FA;
      --bg-surface: #FFFFFF;
      --bg-alt: #f1f4f8;
      --bg-dark: #0c1824;
      --bg-dark-card: #142536;
      --text-main: #1e293b;
      --text-sub: #475569;
      --text-muted: #64748b;
      --border-color: #e2e8f0;
      --border-dark: #233a52;
      --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
      --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
      --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --container-max: 1200px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
      background-color: var(--bg-base);
      color: var(--text-main);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease, opacity 0.2s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, select, textarea {
      font-family: inherit;
      font-size: inherit;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 顶部双行导航 */
    .top-bar {
      background-color: var(--bg-dark);
      color: #94a3b8;
      font-size: 0.85rem;
      border-bottom: 1px solid var(--border-dark);
      padding: 8px 0;
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .top-contact {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .top-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #cbd5e1;
    }
    .top-badge span.dot {
      width: 8px;
      height: 8px;
      background: #10b981;
      border-radius: 50%;
      display: inline-block;
    }

    .site-header {
      background-color: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .logo-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.5px;
    }
    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 800;
      font-size: 16px;
    }

    .main-nav ul {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .main-nav a {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-sub);
      padding: 6px 0;
      position: relative;
    }
    .main-nav a:hover,
    .main-nav a.active {
      color: var(--primary);
    }
    .main-nav a.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--primary);
      border-radius: 2px;
    }

    .nav-cta-btn {
      background-color: var(--primary);
      color: #fff;
      padding: 9px 20px;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      font-weight: 600;
      transition: background 0.2s ease, transform 0.15s ease;
      display: inline-block;
    }
    .nav-cta-btn:hover {
      background-color: var(--primary-hover);
      color: #fff;
      transform: translateY(-1px);
    }

    /* 移动端汉堡折叠 */
    .menu-toggle {
      display: none;
      background: none;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 8px;
      cursor: pointer;
    }
    .menu-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text-main);
      margin: 4px 0;
      transition: 0.2s;
    }

    /* 通用 Section 排版 */
    section {
      padding: 88px 0;
      position: relative;
    }
    .section-light {
      background-color: var(--bg-surface);
    }
    .section-alt {
      background-color: var(--bg-base);
    }
    .section-dark {
      background-color: var(--bg-dark);
      color: #f1f5f9;
    }

    .section-head {
      margin-bottom: 52px;
    }
    .section-head.text-center {
      text-align: center;
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
    }
    .section-tag {
      display: inline-block;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--primary);
      background-color: var(--primary-light);
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 12px;
    }
    .section-tag.tag-dark {
      background-color: rgba(14, 165, 233, 0.15);
      color: var(--accent);
    }
    .section-title {
      font-size: 2.15rem;
      font-weight: 800;
      color: inherit;
      line-height: 1.3;
      margin-bottom: 14px;
    }
    .section-subtitle {
      font-size: 1.05rem;
      color: var(--text-sub);
      line-height: 1.7;
    }
    .section-dark .section-subtitle {
      color: #94a3b8;
    }

    /* 蓝图 Hero：API/开发者与开发者控制台风格 */
    .hero-section {
      padding: 70px 0 90px;
      background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%);
      border-bottom: 1px solid var(--border-color);
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 2.75rem;
      line-height: 1.25;
      font-weight: 800;
      color: #0f172a;
      letter-spacing: -0.8px;
      margin-bottom: 20px;
    }
    .hero-content h1 span.gradient-text {
      color: var(--primary);
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-desc {
      font-size: 1.08rem;
      color: var(--text-sub);
      line-height: 1.75;
      margin-bottom: 32px;
    }
    .hero-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 36px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 13px 28px;
      font-size: 0.98rem;
      font-weight: 600;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all 0.2s ease;
      border: 1px solid transparent;
    }
    .btn-primary {
      background-color: var(--primary);
      color: #ffffff;
      box-shadow: 0 4px 12px rgba(42, 92, 130, 0.25);
    }
    .btn-primary:hover {
      background-color: var(--primary-hover);
      color: #ffffff;
      transform: translateY(-1px);
    }
    .btn-outline {
      border-color: #cbd5e1;
      background: #ffffff;
      color: var(--text-main);
    }
    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: #ffffff;
    }

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      padding-top: 24px;
      border-top: 1px solid #e2e8f0;
    }
    .metric-item .metric-value {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.1;
    }
    .metric-item .metric-label {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-top: 4px;
    }

    /* 代码示意块 / 控制台容器 */
    .hero-terminal {
      background-color: #0b1522;
      border-radius: var(--radius-lg);
      border: 1px solid #1e3248;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }
    .terminal-header {
      background-color: #122132;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #1e3248;
    }
    .terminal-dots {
      display: flex;
      gap: 6px;
    }
    .terminal-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .dot-red { background: #ef4444; }
    .dot-yellow { background: #f59e0b; }
    .dot-green { background: #10b981; }
    .terminal-title {
      font-size: 0.78rem;
      color: #94a3b8;
    }
    .terminal-body {
      padding: 22px;
      color: #e2e8f0;
      font-size: 0.88rem;
      line-height: 1.6;
      overflow-x: auto;
    }
    .code-comment { color: #64748b; }
    .code-key { color: #38bdf8; }
    .code-val { color: #34d399; }
    .code-str { color: #f472b6; }
    .terminal-footer {
      background-color: #0d1a29;
      padding: 10px 18px;
      border-top: 1px solid #1a2d42;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.75rem;
      color: #64748b;
    }

    /* 板块 2：产线能力与架构体系 */
    .capability-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .cap-card {
      background: var(--bg-surface);
      border-radius: var(--radius-md);
      padding: 32px 28px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
    }
    .cap-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: #cbd5e1;
    }
    .cap-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-sm);
      background-color: var(--primary-light);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      font-weight: bold;
      margin-bottom: 20px;
    }
    .cap-title {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: #0f172a;
    }
    .cap-desc {
      font-size: 0.94rem;
      color: var(--text-sub);
      line-height: 1.65;
      flex-grow: 1;
    }
    .cap-meta {
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px dashed var(--border-color);
      font-size: 0.84rem;
      color: var(--primary);
      font-weight: 600;
    }

    /* 板块 3：核心参数对照表 */
    .param-table-wrapper {
      background: #ffffff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      overflow-x: auto;
    }
    .param-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.92rem;
    }
    .param-table th {
      background-color: #f8fafc;
      padding: 16px 20px;
      color: #334155;
      font-weight: 700;
      border-bottom: 1px solid var(--border-color);
      white-space: nowrap;
    }
    .param-table td {
      padding: 16px 20px;
      border-bottom: 1px solid #f1f5f9;
      color: var(--text-sub);
      vertical-align: top;
    }
    .param-table tr:last-child td {
      border-bottom: none;
    }
    .param-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 0.78rem;
      font-weight: 600;
      background-color: #e0f2fe;
      color: #0369a1;
    }

    /* 板块 4：案例现场 */
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .case-card {
      background: var(--bg-surface);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }
    .case-img-wrap {
      width: 100%;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background-color: #e2e8f0;
      position: relative;
    }
    .case-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .case-card:hover .case-img-wrap img {
      transform: scale(1.04);
    }
    .case-body {
      padding: 22px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .case-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 10px;
    }
    .case-text {
      font-size: 0.92rem;
      color: var(--text-sub);
      line-height: 1.6;
      margin-bottom: 18px;
      flex-grow: 1;
    }
    .case-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .case-tag-pill {
      font-size: 0.78rem;
      background-color: var(--bg-alt);
      color: var(--text-sub);
      padding: 3px 8px;
      border-radius: 4px;
    }

    /* 板块 5：深色设计理念与现场 */
    .deep-concept-section {
      background-color: var(--bg-dark);
      background-image: radial-gradient(circle at 10% 20%, rgba(42, 92, 130, 0.35) 0%, transparent 60%);
      color: #f8fafc;
      padding: 96px 0;
    }
    .concept-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }
    .concept-text h2 {
      font-size: 2.2rem;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 20px;
      color: #ffffff;
    }
    .concept-text p {
      font-size: 1rem;
      color: #94a3b8;
      line-height: 1.8;
      margin-bottom: 24px;
    }
    .concept-points {
      list-style: none;
      display: grid;
      gap: 16px;
    }
    .concept-points li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      color: #cbd5e1;
      font-size: 0.94rem;
    }
    .concept-bullet {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: rgba(14, 165, 233, 0.2);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .concept-visual {
      position: relative;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-dark);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    }
    .concept-visual img {
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: cover;
    }

    /* 板块 6：交付实施流程 */
    .flow-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
    }
    .flow-step-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px 22px;
      position: relative;
      box-shadow: var(--shadow-sm);
    }
    .step-num {
      font-size: 2.4rem;
      font-weight: 900;
      color: #cbd5e1;
      line-height: 1;
      margin-bottom: 12px;
    }
    .step-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #0f172a;
    }
    .step-desc {
      font-size: 0.9rem;
      color: var(--text-sub);
      line-height: 1.6;
    }

    /* 板块 7：行业资讯与技术前沿 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }
    .news-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 20px;
      align-items: center;
      transition: border-color 0.2s ease, transform 0.2s ease;
    }
    .news-card:hover {
      border-color: var(--primary);
      transform: translateY(-2px);
    }
    .news-thumb {
      width: 140px;
      height: 98px;
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: #e2e8f0;
      flex-shrink: 0;
    }
    .news-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .news-content h3 {
      font-size: 1.05rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 8px;
      line-height: 1.4;
    }
    .news-content p {
      font-size: 0.88rem;
      color: var(--text-sub);
      line-height: 1.5;
    }
    .news-date {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-top: 8px;
      display: block;
    }

    /* 板块 8：合作伙伴与生态协议墙 */
    .partner-wall {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
    }
    .partner-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 16px 12px;
      text-align: center;
      font-size: 0.86rem;
      font-weight: 600;
      color: var(--text-sub);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 74px;
      transition: all 0.2s ease;
    }
    .partner-item:hover {
      border-color: var(--primary);
      color: var(--primary);
      box-shadow: var(--shadow-sm);
    }
    .partner-sub {
      font-size: 0.7rem;
      color: var(--text-muted);
      font-weight: 400;
      margin-top: 2px;
    }

    /* 板块 9：真实用户评价与项目反馈 */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .review-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
    }
    .review-quote {
      font-size: 0.94rem;
      color: var(--text-main);
      line-height: 1.7;
      margin-bottom: 20px;
      flex-grow: 1;
      position: relative;
    }
    .reviewer-info {
      display: flex;
      align-items: center;
      gap: 12px;
      border-top: 1px solid #f1f5f9;
      padding-top: 14px;
    }
    .reviewer-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color:var(--primary); }
    .reviewer-name { font-weight: 600; color: #1e293b; }
    .reviewer-title { font-size: 0.82rem; color: #64748b; }
    .inquiry-section { background-color: var(--primary-dark); color: #fff; padding: 96px 0; text-align: center; }
    .inquiry-form { max-width: 500px; margin: 32px auto 0; text-align: left; }
    .form-field { margin-bottom: 20px; }
    .form-field label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: #cbd5e1; }
    .form-field input, .form-field select { width: 100%; padding: 12px; border-radius: var(--radius-sm); border: 1px solid #334155; background: #1e293b; color: #fff; }
    .form-field input:focus { outline: 2px solid var(--accent); }
    .footer { background: #0c1824; color: #64748b; padding: 48px 0; border-top: 1px solid #1e293b; font-size: 0.85rem; text-align: center; }
    @media (max-width: 768px) { .nav-container { padding: 0 16px; } .main-nav { display: none; } .menu-toggle { display: block; } .hero-grid, .capability-grid, .cases-grid, .news-grid { grid-template-columns: 1fr; } .concept-split { grid-template-columns: 1fr; } }
