/* roulang page: index */
:root {
      --primary: #10b981;
      --primary-dark: #064e3b;
      --primary-hover: #059669;
      --accent: #f59e0b;
      --accent-dark: #d97706;
      --bg-main: #f8fafc;
      --bg-card: #ffffff;
      --bg-dark: #0f172a;
      --bg-dark-surface: #1e293b;
      --text-main: #0f172a;
      --text-body: #334155;
      --text-muted: #64748b;
      --text-light: #f1f5f9;
      --border-color: rgba(226, 232, 240, 0.85);
      --border-dark: #334155;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 14px;
      --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
      --font-code: "JetBrains Mono", Consolas, "Fira Code", monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-main);
      color: var(--text-body);
      line-height: 1.75;
      letter-spacing: 0.02em;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, select, textarea {
      font: inherit;
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 顶部双行导航 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }

    .top-bar {
      background-color: var(--bg-dark);
      color: #94a3b8;
      font-size: 12px;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-bar-left, .top-bar-right {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--primary);
    }

    .status-badge::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--primary);
      box-shadow: 0 0 8px var(--primary);
    }

    .main-nav-bar {
      padding: 14px 0;
    }

    .main-nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      white-space: nowrap;
    }

    .brand-logo-icon {
      width: 34px;
      height: 34px;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      border-radius: 8px;
      display: grid;
      place-items: center;
      color: #ffffff;
      font-size: 18px;
      font-weight: 900;
      box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
    }

    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-body);
      padding: 6px 2px;
      position: relative;
    }

    .nav-link:hover {
      color: var(--primary);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      white-space: nowrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition);
      border: 1px solid transparent;
      min-height: 42px;
    }

    .btn-primary {
      background-color: var(--primary);
      color: #ffffff;
      box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
    }

    .btn-primary:hover {
      background-color: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(16, 185, 129, 0.35);
    }

    .btn-outline {
      background-color: transparent;
      color: var(--text-main);
      border-color: #cbd5e1;
    }

    .btn-outline:hover {
      background-color: #f1f5f9;
      border-color: #94a3b8;
      transform: translateY(-2px);
    }

    .btn-accent {
      background-color: var(--accent);
      color: #ffffff;
    }

    .btn-accent:hover {
      background-color: var(--accent-dark);
      transform: translateY(-2px);
    }

    /* 板块通用 */
    .section {
      padding: 84px 0;
      position: relative;
    }

    .section-alt {
      background-color: #ffffff;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }

    .section-dark {
      background-color: var(--bg-dark);
      color: var(--text-light);
    }

    .section-header {
      margin-bottom: 48px;
    }

    .section-header.text-center {
      text-align: center;
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
    }

    .section-eyebrow {
      display: inline-block;
      font-size: 13px;
      font-weight: 700;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 8px;
    }

    .section-title {
      font-size: 32px;
      font-weight: 800;
      color: var(--text-main);
      line-height: 1.3;
      margin-bottom: 16px;
    }

    .section-dark .section-title {
      color: #ffffff;
    }

    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
    }

    .section-dark .section-desc {
      color: #94a3b8;
    }

    /* 板块 01: Hero 价值主张 */
    .hero-section {
      padding: 70px 0 90px;
      background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 50%),
                  radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.05), transparent 40%),
                  var(--bg-main);
      border-bottom: 1px solid var(--border-color);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }

    .hero-h1 {
      font-size: 42px;
      font-weight: 900;
      line-height: 1.25;
      color: var(--text-main);
      margin-bottom: 20px;
    }

    .hero-h1 span {
      color: var(--primary);
      position: relative;
    }

    .hero-p {
      font-size: 17px;
      line-height: 1.8;
      color: var(--text-body);
      margin-bottom: 32px;
    }

    .hero-cta-group {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 36px;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      font-size: 13px;
      color: var(--text-muted);
    }

    .hero-tag {
      padding: 4px 10px;
      background: #e2e8f0;
      border-radius: var(--radius-sm);
      color: var(--text-body);
      font-weight: 500;
    }

    .hero-stage-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      position: relative;
    }

    .terminal-header {
      background: #0f172a;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .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: 12px;
      color: #94a3b8;
      font-family: var(--font-code);
    }

    .hero-banner-img {
      width: 100%;
      height: 290px;
      object-fit: cover;
      display: block;
    }

    .terminal-body {
      padding: 16px;
      background: #111827;
      color: #38bdf8;
      font-family: var(--font-code);
      font-size: 12px;
      line-height: 1.6;
    }

    /* 板块 02: 引擎矩阵与认证指标 */
    .engine-matrix-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 52px;
      align-items: center;
    }

    .matrix-img-box {
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-md);
    }

    .matrix-tags-group {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 20px 0 28px;
    }

    .matrix-chip {
      background: #f1f5f9;
      color: var(--text-main);
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 600;
      border: 1px solid #e2e8f0;
    }

    .matrix-proof-box {
      padding: 20px;
      background: #ecfdf5;
      border-left: 4px solid var(--primary);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      font-size: 14px;
      line-height: 1.7;
      color: #064e3b;
    }

    /* 板块 03: 架构优势 6 卡片网格 */
    .arch-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .arch-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
      display: flex;
      flex-direction: column;
    }

    .arch-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(16, 185, 129, 0.4);
    }

    .arch-card-icon {
      width: 44px;
      height: 44px;
      background: #f0fdf4;
      color: var(--primary);
      display: grid;
      place-items: center;
      border-radius: var(--radius-sm);
      font-size: 20px;
      margin-bottom: 18px;
    }

    .arch-card-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 10px;
    }

    .arch-card-text {
      font-size: 14px;
      color: var(--text-body);
      line-height: 1.7;
      margin-bottom: 16px;
      flex-grow: 1;
    }

    .arch-meta {
      font-family: var(--font-code);
      font-size: 12px;
      color: var(--text-muted);
      background: #f8fafc;
      padding: 6px 10px;
      border-radius: var(--radius-sm);
      border: 1px solid #e2e8f0;
    }

    /* 板块 04: 3 大核心套件 */
    .suites-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      align-items: stretch;
    }

    .suite-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .suite-card.highlight {
      border-color: var(--primary);
      transform: scale(1.04);
      box-shadow: var(--shadow-lg);
      background: #ffffff;
      z-index: 2;
    }

    .suite-badge {
      position: absolute;
      top: -12px;
      right: 20px;
      background: var(--accent);
      color: #ffffff;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 999px;
      letter-spacing: 0.05em;
    }

    .suite-card-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }

    .suite-card-desc {
      font-size: 14px;
      color: var(--text-body);
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .suite-features-list {
      list-style: none;
      margin-bottom: 24px;
      flex-grow: 1;
    }

    .suite-features-list li {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 8px;
      position: relative;
      padding-left: 18px;
    }

    .suite-features-list li::before {
      content: "✔";
      position: absolute;
      left: 0;
      color: var(--primary);
      font-size: 12px;
    }

    /* 板块 05: 深色工程沉浸区 */
    .pipeline-view {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .code-console {
      background: #090d16;
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: 24px;
      font-family: var(--font-code);
      font-size: 13px;
      line-height: 1.8;
      color: #a7f3d0;
      overflow-x: auto;
    }

    .console-comment { color: #64748b; }
    .console-keyword { color: #f472b6; }
    .console-string { color: #fcd34d; }

    /* 板块 06: 使用场景联动 */
    .scenarios-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .scenario-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    .scenario-img {
      width: 100%;
      height: 190px;
      object-fit: cover;
    }

    .scenario-content {
      padding: 24px;
    }

    .scenario-title {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--text-main);
    }

    .scenario-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 板块 07: 效能仪表盘统计条 */
    .metric-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 36px 24px;
      box-shadow: var(--shadow-sm);
    }

    .metric-item {
      text-align: center;
      border-right: 1px solid var(--border-color);
      padding: 0 12px;
    }

    .metric-item:last-child {
      border-right: none;
    }

    .metric-val {
      font-size: 38px;
      font-weight: 900;
      color: var(--primary);
      font-family: var(--font-code);
      line-height: 1.2;
      margin-bottom: 8px;
    }

    .metric-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 4px;
    }

    .metric-sub {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 板块 08: 定价矩阵 */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      align-items: stretch;
    }

    .pricing-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 36px 28px;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
    }

    .pricing-card:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-3px);
    }

    .pricing-card.recommend {
      border-color: var(--primary);
      background: #ffffff;
      position: relative;
    }

    .pricing-name {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 8px;
    }

    .pricing-cost {
      font-size: 34px;
      font-weight: 800;
      color: var(--text-main);
      font-family: var(--font-code);
      margin: 16px 0 20px;
    }

    .pricing-cost span {
      font-size: 14px;
      color: var(--text-muted);
      font-weight: 400;
    }

    .pricing-items {
      list-style: none;
      margin-bottom: 28px;
      flex-grow: 1;
    }

    .pricing-items li {
      font-size: 14px;
      color: var(--text-body);
      margin-bottom: 10px;
      padding-left: 20px;
      position: relative;
    }

    .pricing-items li::before {
      content: "✔";
      position: absolute;
      left: 0;
      color: var(--primary);
      font-weight: 700;
    }

    /* 板块 09: 评价墙 */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .review-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: var(--shadow-sm);
    }

    .review-quote {
      font-size: 14px;
      line-height: 1.8;
      color: var(--text-body);
      margin-bottom: 20px;
      font-style: italic;
    }

    .review-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .author-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #e2e8f0;
      object-fit: cover;
    }

    .author-info h4 {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-main);
    }

    .author-info p {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 板块 10: 技术资讯摘要 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .news-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }

    .news-cover {
      width: 100%;
      height: 140px;
      object-fit: cover;
    }

    .news-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .news-date {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .news-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 10px;
      line-height: 1.5;
    }

    .news-summary {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      flex-grow: 1;
    }

    /* 板块 11: FAQ 手风琴 */
    .faq-container {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      overflow: hidden;
    }

    .faq-item summary {
      padding: 18px 24px;
      font-size: 16px;
      font-weight: 600;
      color: var(--text-main);
      cursor: pointer;
      position: relative;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background var(--transition);
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary:hover {
      background: #f8fafc;
    }

    .faq-item summary::after {
      content: "+";
      font-size: 20px;
      font-weight: 400;
      color: var(--text-muted);
      transition: transform var(--transition);
    }

    .faq-item[open] summary::after {
      content: "−";
      color: var(--primary);
    }

    .faq-answer {
      padding: 0 24px 20px;
      font-size: 14px;
      line-height: 1.8;
      color: var(--text-body);
      border-top: 1px solid #f1f5f9;
      margin-top: 4px;
      padding-top: 16px;
    }

    /* 板块 12: 转化 CTA 区 */
    .cta-banner {
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      border: 1px solid #334155;
      border-radius: var(--radius-lg);
      padding: 56px 48px;
      color: #ffffff;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-banner h2 {
      font-size: 32px;
      font-weight: 800;
      margin-bottom: 16px;
      color: #ffffff;
    }

    .cta-banner p {
      font-size: 16px;
      color: #cbd5e1;
      max-width: 680px;
      margin: 0 auto 32px;
    }

    .cli-box {
      background: #090d16;
      border: 1px solid #334155;
      border-radius: var(--radius-sm);
      display: inline-flex;
      align-items: center;
      gap: 16px;
      padding: 10px 20px;
      margin-bottom: 28px;
      font-family: var(--font-code);
      font-size: 14px;
      color: #10b981;
    }

    .cta-form {
      display: flex;
      justify-content: center;
      gap: 12px;
      max-width: 500px;
      margin: 0 auto;
    }

    .cta-input {
      flex: 1;
      padding: 12px 18px;
      border-radius: var(--radius-sm);
      border: 1px solid #475569;
      background: #1e293b;
      color: #ffffff;
      outline: none;
    }

    .cta-input:focus {
      border-color: var(--primary);
    }

    /* 页脚 */
    .site-footer {
      background: #090d16;
      color: #94a3b8;
      padding: 64px 0 32px;
      border-top: 1px solid #1e293b;
      font-size: 14px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 48px;
      margin-bottom: 48px;
    }

    .footer-brand h3 {
      color: #ffffff;
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .footer-brand p {
      font-size: 13px;
      line-height: 1.8;
      color: #64748b;
      margin-bottom: 16px;
    }

    .footer-col h4 {
      color: #ffffff;
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 18px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      border-top: 1px solid #1e293b;
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 12px;
      color: #64748b;
    }

    /* 响应式断点适配 */
    @media (max-width: 1024px) {
      .hero-grid,
      .engine-matrix-grid,
      .pipeline-view {
        grid-template-columns: 1fr;
        gap: 36px;
      }
      .arch-grid,
      .suites-grid,
      .scenarios-grid,
      .pricing-grid,
      .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .suite-card.highlight {
        transform: none;
      }
      .news-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .metric-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
      .metric-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
      }
      .metric-item:nth-child(3),
      .metric-item:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0;
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .nav-links {
        display: none;
      }
      .arch-grid,
      .suites-grid,
      .scenarios-grid,
      .pricing-grid,
      .reviews-grid,
      .news-grid {
        grid-template-columns: 1fr;
      }
      .hero-h1 {
        font-size: 30px;
      }
      .section {
        padding: 56px 0;
      }
      .section-title {
        font-size: 26px;
      }
      .cta-form {
        flex-direction: column;
      }
      .cta-banner {
        padding: 36px 20px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
