/* roulang page: index */
:root {
      --primary: #00875A;
      --primary-dark: #006644;
      --accent: #FF5E1E;
      --accent-hover: #E04E15;
      --bg-dark: #111927;
      --bg-dark-card: #1C2536;
      --bg-light: #F8FAFC;
      --bg-surface: #FFFFFF;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --border: #E2E8F0;
      --border-dark: #2D3748;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 18px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
      --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
      --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
      --container: 1240px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: var(--text-main);
      background-color: var(--bg-surface);
      line-height: 1.65;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: all 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);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Top Bar */
    .top-bar {
      background: var(--bg-dark);
      color: #94A3B8;
      font-size: 12px;
      border-bottom: 1px solid var(--border-dark);
      padding: 8px 0;
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .top-bar-info span {
      margin-right: 20px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .pulse-dot {
      width: 8px;
      height: 8px;
      background: #10B981;
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 8px #10B981;
    }

    /* Navigation */
    .header-nav {
      position: sticky;
      top: 0;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      z-index: 999;
      border-bottom: 1px solid var(--border);
    }
    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 19px;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }
    .brand-badge {
      background: var(--primary);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: var(--radius-sm);
      text-transform: uppercase;
    }
    .nav-links {
      display: flex;
      list-style: none;
      align-items: center;
      gap: 28px;
    }
    .nav-link {
      color: #334155;
      font-weight: 500;
      font-size: 14px;
      padding: 6px 0;
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }
    .nav-link::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--primary);
      transition: width 0.25s ease;
    }
    .nav-link:hover::after {
      width: 100%;
    }
    .btn-header {
      background: var(--accent);
      color: #fff;
      padding: 10px 20px;
      border-radius: var(--radius-md);
      font-size: 13px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: none;
      cursor: pointer;
    }
    .btn-header:hover {
      background: var(--accent-hover);
      box-shadow: 0 4px 12px rgba(255, 94, 30, 0.3);
    }
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text-main);
    }

    /* Common Section Styles */
    section {
      padding: 84px 0;
      position: relative;
    }
    .section-light {
      background-color: var(--bg-surface);
    }
    .section-gray {
      background-color: var(--bg-light);
    }
    .section-dark {
      background-color: var(--bg-dark);
      color: #F8FAFC;
    }
    .section-header {
      margin-bottom: 48px;
    }
    .section-tag {
      color: var(--primary);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      display: inline-block;
      margin-bottom: 10px;
    }
    .section-tag.light {
      color: #34D399;
    }
    .section-title {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 14px;
      letter-spacing: -0.5px;
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 15px;
      max-width: 680px;
      line-height: 1.7;
    }
    .section-dark .section-desc {
      color: #94A3B8;
    }

    /* HERO: 双栏门户 (左主张右快捷入口网格) */
    .hero-section {
      padding: 70px 0 90px;
      background: radial-gradient(circle at 10% 20%, rgba(0, 135, 90, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
                  radial-gradient(circle at 90% 80%, rgba(255, 94, 30, 0.06) 0%, rgba(255, 255, 255, 0) 50%);
      border-bottom: 1px solid var(--border);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 56px;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 42px;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 22px;
      letter-spacing: -1px;
      color: var(--text-main);
    }
    .hero-content h1 span {
      color: var(--primary);
    }
    .hero-content p {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 32px;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      align-items: center;
      margin-bottom: 40px;
    }
    .btn-main {
      background: var(--primary);
      color: #fff;
      padding: 13px 28px;
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: 15px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-main:hover {
      background: var(--primary-dark);
      box-shadow: 0 6px 18px rgba(0, 135, 90, 0.28);
    }
    .btn-outline {
      background: #fff;
      color: var(--text-main);
      padding: 13px 26px;
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: 15px;
      border: 1px solid var(--border);
    }
    .btn-outline:hover {
      border-color: #94A3B8;
      background: #F1F5F9;
    }
    .hero-stats-inline {
      display: flex;
      gap: 36px;
      border-top: 1px solid var(--border);
      padding-top: 24px;
    }
    .stat-item h4 {
      font-size: 26px;
      font-weight: 700;
      color: var(--text-main);
    }
    .stat-item p {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 0;
    }
    /* Hero 右侧快捷入口网格 */
    .portal-grid-box {
      background: #FFFFFF;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: var(--shadow-lg);
    }
    .portal-box-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border);
    }
    .portal-box-header h3 {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .portal-cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
    .portal-card {
      background: var(--bg-light);
      border: 1px solid transparent;
      padding: 16px;
      border-radius: var(--radius-md);
      transition: all 0.2s ease;
      display: block;
    }
    .portal-card:hover {
      background: #fff;
      border-color: var(--primary);
      box-shadow: var(--shadow-sm);
      transform: translateY(-2px);
    }
    .portal-card-tag {
      font-size: 11px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 6px;
      display: block;
    }
    .portal-card h4 {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 4px;
      color: var(--text-main);
    }
    .portal-card p {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
      margin-bottom: 0;
    }

    /* 资料目录 (Data Catalog) */
    .catalog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .catalog-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 26px;
      transition: all 0.25s ease;
    }
    .catalog-card:hover {
      box-shadow: var(--shadow-md);
      border-color: #CBD5E1;
      transform: translateY(-3px);
    }
    .catalog-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
    }
    .catalog-code {
      font-size: 12px;
      font-family: monospace;
      background: #F1F5F9;
      color: #475569;
      padding: 3px 8px;
      border-radius: 4px;
    }
    .catalog-card h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .catalog-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 18px;
    }
    .catalog-list {
      list-style: none;
      border-top: 1px solid var(--border);
      padding-top: 14px;
      margin-bottom: 18px;
    }
    .catalog-list li {
      font-size: 12px;
      color: #475569;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .catalog-list li::before {
      content: "•";
      color: var(--primary);
      font-size: 14px;
    }

    /* 价值点 (Core Values) */
    .value-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .value-card {
      background: #FFFFFF;
      padding: 24px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }
    .value-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--primary);
    }
    .value-card.highlight::before {
      background: var(--accent);
    }
    .value-number {
      font-size: 32px;
      font-weight: 800;
      color: #E2E8F0;
      line-height: 1;
      margin-bottom: 12px;
    }
    .value-card h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .value-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 关键图表与拓扑 (Key Diagram & Architecture) */
    .arch-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .arch-code-box {
      background: #0B111A;
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: 22px;
      font-family: Consolas, Monaco, "Courier New", Courier, monospace;
      font-size: 12px;
      color: #E2E8F0;
      box-shadow: 0 16px 32px rgba(0,0,0,0.4);
    }
    .code-titlebar {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 1px solid #1E293B;
    }
    .dot-ctrl {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: inline-block;
    }
    .dot-red { background: #EF4444; }
    .dot-yellow { background: #F59E0B; }
    .dot-green { background: #10B981; }
    .code-title {
      color: #64748B;
      font-size: 11px;
      margin-left: 8px;
    }
    .code-line {
      margin-bottom: 5px;
      line-height: 1.5;
    }
    .code-keyword { color: #F43F5E; }
    .code-prop { color: #38BDF8; }
    .code-val { color: #A3E635; }
    .code-comment { color: #64748B; }

    .arch-points {
      display: grid;
      gap: 20px;
    }
    .arch-point-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .arch-icon {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-sm);
      background: rgba(0, 135, 90, 0.2);
      color: #34D399;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      flex-shrink: 0;
    }
    .arch-point-item h4 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 4px;
      color: #F8FAFC;
    }
    .arch-point-item p {
      font-size: 13px;
      color: #94A3B8;
      line-height: 1.5;
    }

    /* 场景演示 (Interactive Scenarios) */
    .scenario-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .scenario-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .scenario-img-wrap {
      height: 180px;
      overflow: hidden;
      position: relative;
    }
    .scenario-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .scenario-card:hover .scenario-img-wrap img {
      transform: scale(1.05);
    }
    .scenario-body {
      padding: 22px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .scenario-body h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .scenario-body p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
      flex: 1;
    }
    .scenario-metrics {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid var(--border);
      padding-top: 12px;
      font-size: 12px;
      color: #475569;
    }
    .scenario-metrics strong {
      color: var(--primary);
    }

    /* 指标统计条 (Metrics Bar) */
    .metrics-bar {
      background: #111927;
      border-top: 1px solid var(--border-dark);
      border-bottom: 1px solid var(--border-dark);
      padding: 48px 0;
    }
    .metrics-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .metric-col {
      position: relative;
    }
    .metric-col:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 15%;
      height: 70%;
      width: 1px;
      background: #2D3748;
    }
    .metric-val {
      font-size: 40px;
      font-weight: 800;
      font-family: -apple-system, monospace;
      color: #FF5E1E;
      line-height: 1.1;
      margin-bottom: 6px;
    }
    .metric-val.green {
      color: #10B981;
    }
    .metric-label {
      color: #CBD5E1;
      font-size: 13px;
      font-weight: 500;
    }

    /* 相关资源与规范中心 (Resource Center) */
    .resources-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .resource-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 22px;
      transition: all 0.2s ease;
    }
    .resource-card:hover {
      border-color: var(--primary);
      box-shadow: var(--shadow-sm);
    }
    .res-type {
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      background: #F1F5F9;
      color: #334155;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 12px;
    }
    .resource-card h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .resource-card p {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
    }
    .res-link {
      font-size: 12px;
      font-weight: 600;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* 行业技术资讯动态 (News & Releases) */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .news-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 22px;
      display: flex;
      flex-direction: column;
    }
    .news-meta {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: #94A3B8;
      margin-bottom: 10px;
    }
    .news-meta span.badge {
      color: var(--primary);
      font-weight: 600;
      background: #ECFDF5;
      padding: 2px 6px;
      border-radius: 4px;
    }
    .news-card h3 {
      font-size: 16px;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 10px;
      color: var(--text-main);
    }
    .news-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
      flex: 1;
    }
    .news-action {
      border-top: 1px solid var(--border);
      padding-top: 12px;
    }
    .news-action a {
      font-size: 13px;
      color: var(--primary);
      font-weight: 600;
    }
    .news-action a:hover {
      color: var(--primary-dark);
    }

    /* 平台保障承诺 (Guarantees) */
    .guarantee-bar {
      background: #F1F5F9;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 24px;
    }
    .guarantee-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .guarantee-item {
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .guarantee-num {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      color: var(--primary);
      font-size: 14px;
      flex-shrink: 0;
    }
    .guarantee-text h4 {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 2px;
    }
    .guarantee-text p {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 0;
    }

    /* 常见疑问解答 (FAQ) */
    .faq-container {
      max-width: 860px;
      margin: 0 auto;
    }
    .faq-item {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      margin-bottom: 12px;
      background: #fff;
      overflow: hidden;
    }
    .faq-question {
      padding: 18px 24px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-question:hover {
      background: #F8FAFC;
    }
    .faq-icon {
      font-size: 18px;
      font-weight: 400;
      color: var(--text-muted);
      transition: transform 0.25s ease;
    }
    .faq-answer {
      padding: 0 24px 20px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      display: none;
      border-top: 1px solid #F1F5F9;
      padding-top: 14px;
    }
    .faq-item.active .faq-answer {
      display: block;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
      color: var(--accent);
    }

    /* 领取与咨询表单 (Lead Form) */
    .form-box {
      background: #FFFFFF;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 44px;
      box-shadow: var(--shadow-lg);
      max-width: 900px;
      margin: 0 auto;
    }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .form-group.full {
      grid-column: span 2;
    }
    .form-label {
      font-size: 13px;
      font-weight: 600;
      color: #334155;
    }
    .form-input, .form-select, .form-textarea {
      padding: 11px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      outline: none;
      transition: border-color 0.2s ease;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--primary);
    }
    .btn-submit {
      background: var(--accent);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 13px 32px;
      border: none;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: background 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-submit:hover {
      background: var(--accent-hover);
    }
    .form-trust-note {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* 页脚 (Footer) */
    footer {
      background: var(--bg-dark);
      color: #94A3B8;
      padding: 60px 0 24px;
      border-top: 1px solid var(--border-dark);
      font-size: 13px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }
    .footer-brand h3 {
      color: #FFFFFF;
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 14px;
    }
    .footer-brand p {
      line-height: 1.7;
      margin-bottom: 16px;
      max-width: 340px;
    }
    .footer-col h4 {
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a:hover {
      color: #FFFFFF;
    }
    .contact-item {
      margin-bottom: 10px;
      line-height: 1.5;
    }
    .footer-bottom {
      border-top: 1px solid #1E293B;
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: #64748B;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .catalog-grid, .scenario-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .value-grid, .resources-grid, .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .arch-container {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .nav-links, .btn-header {
        display: none;
      }
      .menu-toggle {
        display: block;
      }
      .catalog-grid, .scenario-grid, .news-grid, .value-grid, .resources-grid, .guarantee-grid {
        grid-template-columns: 1fr;
      }
      .metrics-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
      }
      .metric-col:not(:last-child)::after {
        display: none;
      }
      .form-grid {
        grid-template-columns: 1fr;
      }
      .form-group.full {
        grid-column: span 1;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
      .hero-content h1 {
        font-size: 32px;
      }
      .hero-stats-inline {
        flex-wrap: wrap;
        gap: 20px;
      }
    }
