/* roulang page: index */
:root {
      --primary: #00D084;
      --primary-hover: #07aa6b;
      --accent-dark: #0E131F;
      --accent-slate: #1E293B;
      --bg-light: #F4F6F9;
      --bg-white: #FFFFFF;
      --text-main: #1F2937;
      --text-muted: #64748B;
      --border-color: rgba(226, 232, 240, 0.9);
      --shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
      --radius: 8px;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text-main);
      background-color: var(--bg-white);
      margin: 0;
      padding: 0;
      line-height: 1.6;
    }
    a {
      color: var(--text-main);
      text-decoration: none;
      transition: all 0.25s ease;
    }
    a:hover {
      color: var(--primary);
    }
    .top-status-bar {
      background: #F8FAFC;
      border-bottom: 1px solid var(--border-color);
      font-size: 13px;
      color: var(--text-muted);
      padding: 6px 0;
    }
    .status-badge-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: var(--primary);
      border-radius: 50%;
      margin-right: 6px;
      box-shadow: 0 0 0 2px rgba(0, 208, 132, 0.2);
    }
    .main-nav-bar {
      background: var(--bg-white);
      border-bottom: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 0;
      z-index: 999;
      padding: 12px 0;
    }
    .brand-logo {
      font-size: 22px;
      font-weight: 800;
      color: var(--accent-dark);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .brand-logo i {
      color: var(--primary);
    }
    .nav-links {
      display: flex;
      gap: 22px;
      align-items: center;
      margin: 0;
      list-style: none;
    }
    .nav-links li a {
      font-weight: 500;
      font-size: 15px;
      color: var(--text-main);
    }
    .nav-links li a:hover {
      color: var(--primary);
    }
    .nav-search {
      position: relative;
      margin-right: 12px;
    }
    .nav-search input {
      margin-bottom: 0;
      border-radius: 20px;
      border: 1px solid var(--border-color);
      padding: 6px 14px 6px 32px;
      font-size: 13px;
      height: 38px;
      background: var(--bg-light);
    }
    .nav-search i {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      font-size: 13px;
    }
    .btn-brand-primary {
      background: var(--primary);
      color: #fff !important;
      padding: 8px 20px;
      border-radius: 6px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border: 1px solid var(--primary);
      transition: all 0.25s ease;
      min-height: 44px;
    }
    .btn-brand-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
    }
    .btn-brand-outline {
      background: transparent;
      color: var(--text-main) !important;
      padding: 8px 20px;
      border-radius: 6px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border-color);
      transition: all 0.25s ease;
      min-height: 44px;
    }
    .btn-brand-outline:hover {
      border-color: var(--primary);
      color: var(--primary) !important;
    }
    .section-spacing {
      padding: 80px 0;
    }
    .section-spacing-alt {
      padding: 80px 0;
      background: var(--bg-light);
    }
    .section-dark {
      padding: 80px 0;
      background: var(--accent-dark);
      color: #F8FAFC;
    }
    .hero-search-center {
      position: relative;
      background-size: cover;
      background-position: center;
      padding: 90px 0 100px;
      color: #fff;
    }
    .hero-search-center::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(14, 19, 31, 0.88);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 860px;
      margin: 0 auto;
    }
    .hero-content h1 {
      font-size: 42px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 20px;
      line-height: 1.25;
    }
    .hero-lead {
      font-size: 16px;
      color: #CBD5E1;
      margin-bottom: 32px;
      line-height: 1.7;
    }
    .hero-search-box {
      background: #fff;
      border-radius: 8px;
      padding: 6px;
      display: flex;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
      margin-bottom: 20px;
    }
    .hero-search-box input {
      border: none;
      box-shadow: none;
      margin: 0;
      height: 48px;
      font-size: 15px;
      color: var(--text-main);
      padding-left: 16px;
    }
    .hero-search-box input:focus {
      background: transparent;
      box-shadow: none;
    }
    .hero-hot-chips {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      font-size: 13px;
    }
    .hero-hot-chips span {
      color: #94A3B8;
    }
    .chip-item {
      background: rgba(255, 255, 255, 0.1);
      color: #E2E8F0;
      padding: 4px 12px;
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: all 0.2s;
    }
    .chip-item:hover {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }
    .section-header {
      margin-bottom: 48px;
      text-align: center;
    }
    .section-header h2 {
      font-size: 30px;
      font-weight: 700;
      margin-bottom: 14px;
      color: inherit;
    }
    .section-header p {
      font-size: 15px;
      color: var(--text-muted);
      max-width: 680px;
      margin: 0 auto;
      line-height: 1.6;
    }
    .card-common {
      background: var(--bg-white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      padding: 28px;
      height: 100%;
      transition: all 0.25s ease;
    }
    .card-common:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      border-color: rgba(0, 208, 132, 0.4);
    }
    .kpi-num {
      font-size: 40px;
      font-weight: 800;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 8px;
    }
    .kpi-title {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .kpi-desc {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 0;
    }
    .matrix-img-box {
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .matrix-img-box img {
      width: 100%;
      display: block;
      height: 100%;
      object-fit: cover;
    }
    .spec-item {
      display: flex;
      gap: 16px;
      margin-bottom: 22px;
    }
    .spec-icon {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      background: rgba(0, 208, 132, 0.1);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }
    .spec-item h4 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 4px;
    }
    .spec-item p {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 0;
    }
    .compare-bar-container {
      background: var(--accent-slate);
      border-radius: var(--radius);
      padding: 30px;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .latency-bar-row {
      margin-bottom: 24px;
    }
    .latency-bar-info {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      font-size: 14px;
    }
    .progress-track {
      background: rgba(255, 255, 255, 0.1);
      height: 14px;
      border-radius: 7px;
      overflow: hidden;
    }
    .progress-fill-active {
      background: var(--primary);
      height: 100%;
      width: 15%;
      border-radius: 7px;
    }
    .progress-fill-slow {
      background: #EF4444;
      height: 100%;
      width: 88%;
      border-radius: 7px;
    }
    .code-box-preview {
      background: #05070B;
      border: 1px solid #2D3748;
      border-radius: 6px;
      padding: 16px;
      font-family: Consolas, Monaco, "Courier New", monospace;
      font-size: 13px;
      color: #A0AEC0;
      overflow-x: auto;
    }
    .code-box-preview .token-key { color: #63B3ED; }
    .code-box-preview .token-val { color: var(--primary); }
    .timeline-wrap {
      position: relative;
      padding: 20px 0;
    }
    .timeline-item {
      position: relative;
      padding-left: 36px;
      margin-bottom: 36px;
    }
    .timeline-item::before {
      content: "";
      position: absolute;
      left: 7px;
      top: 6px;
      bottom: -36px;
      width: 2px;
      background: var(--border-color);
    }
    .timeline-item:last-child::before {
      display: none;
    }
    .timeline-point {
      position: absolute;
      left: 0;
      top: 4px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #fff;
      border: 3px solid var(--primary);
    }
    .timeline-date {
      font-weight: 700;
      color: var(--primary);
      font-size: 14px;
      margin-bottom: 4px;
    }
    .endpoint-tag {
      display: inline-block;
      font-family: monospace;
      font-size: 12px;
      padding: 2px 8px;
      background: var(--bg-light);
      border-radius: 4px;
      color: #475569;
      margin-bottom: 12px;
    }
    .badge-icon-item {
      text-align: center;
      padding: 30px 20px;
      border-radius: var(--radius);
      background: var(--bg-white);
      border: 1px solid var(--border-color);
    }
    .badge-icon-item i {
      font-size: 36px;
      color: var(--primary);
      margin-bottom: 16px;
    }
    .badge-icon-item h4 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .badge-icon-item p {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 0;
    }
    .news-card-thumb {
      height: 180px;
      overflow: hidden;
      border-radius: 6px;
      margin-bottom: 16px;
    }
    .news-card-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .news-card:hover .news-card-thumb img {
      transform: scale(1.04);
    }
    .form-wrapper {
      background: var(--bg-white);
      padding: 36px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-color);
    }
    .form-wrapper label {
      font-weight: 600;
      margin-bottom: 6px;
      font-size: 14px;
      color: var(--text-main);
    }
    .form-wrapper input, .form-wrapper select, .form-wrapper textarea {
      border-radius: 6px;
      border: 1px solid var(--border-color);
      height: 42px;
      padding: 8px 12px;
      font-size: 14px;
    }
    .form-wrapper textarea {
      height: 90px;
    }
    .accordion-title {
      border: 1px solid var(--border-color);
      border-radius: 6px;
      margin-bottom: 8px;
      background: var(--bg-white);
      color: var(--text-main);
      font-weight: 600;
      font-size: 16px;
      padding: 16px 20px;
    }
    .accordion-title:hover {
      background: var(--bg-light);
    }
    .accordion-content {
      border: 1px solid var(--border-color);
      border-top: none;
      background: #FAFAFA;
      padding: 18px 20px;
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 12px;
    }
    .footer-site {
      background: var(--accent-dark);
      color: #94A3B8;
      padding: 70px 0 24px;
      font-size: 14px;
      border-top: 1px solid #1E293B;
    }
    .footer-site h5 {
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-links {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links li a {
      color: #94A3B8;
    }
    .footer-links li a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      margin-top: 50px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 13px;
      text-align: center;
    }
    @media screen and (max-width: 640px) {
      .hero-content h1 {
        font-size: 28px;
      }
      .section-spacing, .section-spacing-alt, .section-dark {
        padding: 50px 0;
      }
      .nav-search {
        display: none;
      }
      .nav-links {
        display: none;
      }
      .hero-search-box {
        flex-direction: column;
      }
      .hero-search-box .btn-brand-primary {
        width: 100%;
        margin-top: 8px;
      }
    }
