/* roulang page: index */
:root {
      --primary: #4F46E5;
      --primary-hover: #4338CA;
      --primary-light: #EEF2FF;
      --accent-green: #10B981;
      --accent-cyan: #06B6D4;
      --accent-purple: #8B5CF6;
      --bg-main: #F8FAFC;
      --bg-dark: #0F172A;
      --bg-dark-card: #1E293B;
      --text-main: #0F172A;
      --text-muted: #475569;
      --text-light: #94A3B8;
      --border-color: rgba(226, 232, 240, 0.9);
      --border-dark: rgba(255, 255, 255, 0.12);
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
      --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
      --shadow-lg: 0 20px 35px -10px rgba(79, 70, 229, 0.12);
      --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Noto Sans SC", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
      background-color: var(--bg-main);
      color: var(--text-main);
      line-height: 1.7;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    button, input, select, textarea {
      font: inherit;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Top Utility Bar */
    .topbar {
      background-color: #0b1120;
      color: #94a3b8;
      font-size: 13px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 7px 0;
    }
    .topbar-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .status-dot {
      width: 7px;
      height: 7px;
      background-color: var(--accent-green);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent-green);
    }

    /* Main Navigation */
    .main-nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 74px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      font-size: 18px;
      color: var(--text-main);
      letter-spacing: -0.3px;
    }
    .brand-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-weight: 800;
      font-size: 19px;
      box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    }
    .nav-links {
      display: flex;
      align-items: center;
      list-style: none;
      gap: 32px;
    }
    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: #334155;
      padding: 6px 0;
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }
    .nav-link.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--primary);
      border-radius: 2px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 11px 22px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
      white-space: nowrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--primary), #4338ca);
      color: #ffffff;
      box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
    }
    .btn-primary:hover {
      background: linear-gradient(135deg, #4338ca, #3730a3);
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(79, 70, 229, 0.38);
    }
    .btn-outline {
      border-color: #cbd5e1;
      background: #ffffff;
      color: #1e293b;
    }
    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: var(--primary-light);
    }

    /* Section Styles */
    .section-wrap {
      padding: 86px 0;
      position: relative;
    }
    .section-alt {
      background-color: #ffffff;
      border-top: 1px solid rgba(226, 232, 240, 0.7);
      border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    }
    .section-dark {
      background-color: var(--bg-dark);
      color: #ffffff;
    }
    .section-header {
      margin-bottom: 50px;
    }
    .section-header.text-center {
      text-align: center;
      max-width: 820px;
      margin-left: auto;
      margin-right: auto;
    }
    .sec-tag {
      display: inline-block;
      font-size: 12px;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 1px;
      padding: 4px 12px;
      border-radius: 30px;
      background: rgba(79, 70, 229, 0.1);
      color: var(--primary);
      margin-bottom: 12px;
    }
    .section-dark .sec-tag {
      background: rgba(99, 102, 241, 0.2);
      color: #a5b4fc;
    }
    .section-title {
      font-size: 32px;
      font-weight: 800;
      color: var(--text-main);
      line-height: 1.3;
      margin-bottom: 14px;
      letter-spacing: -0.5px;
    }
    .section-dark .section-title {
      color: #ffffff;
    }
    .section-desc {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.8;
    }
    .section-dark .section-desc {
      color: var(--text-light);
    }

    /* Section 1: Hero (Before / After Comparison) */
    .hero-section {
      background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
      padding: 70px 0 90px;
      position: relative;
      border-bottom: 1px solid #e2e8f0;
      overflow: hidden;
    }
    .hero-badge-wrap {
      display: flex;
      justify-content: center;
      margin-bottom: 20px;
    }
    .hero-h1 {
      font-size: 44px;
      font-weight: 800;
      line-height: 1.25;
      text-align: center;
      letter-spacing: -1px;
      color: #0f172a;
      max-width: 980px;
      margin: 0 auto 20px;
    }
    .hero-h1 span {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-lead {
      max-width: 860px;
      margin: 0 auto 36px;
      text-align: center;
      font-size: 16px;
      line-height: 1.85;
      color: #475569;
    }
    .hero-cta-group {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-bottom: 50px;
    }

    /* Before / After Dual Grid */
    .compare-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-lg);
      padding: 30px;
      box-shadow: var(--shadow-lg);
    }
    .compare-pane {
      border-radius: var(--radius-md);
      padding: 28px;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .compare-pane.before {
      background-color: #fff1f2;
      border: 1px solid #fecdd3;
    }
    .compare-pane.after {
      background-color: #f0fdf4;
      border: 1px solid #bbf7d0;
    }
    .pane-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 6px;
      width: fit-content;
      margin-bottom: 14px;
    }
    .before .pane-tag {
      background-color: #e11d48;
      color: #ffffff;
    }
    .after .pane-tag {
      background-color: #16a34a;
      color: #ffffff;
    }
    .pane-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
      color: #0f172a;
    }
    .pane-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 14px;
      color: #334155;
    }
    .pane-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.6;
    }
    .pane-icon {
      font-weight: bold;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .before .pane-icon {
      color: #e11d48;
    }
    .after .pane-icon {
      color: #16a34a;
    }

    /* Section 2: Catalog / Matrix */
    .catalog-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .catalog-item {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }
    .catalog-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: #c7d2fe;
    }
    .catalog-category {
      font-size: 12px;
      font-weight: 700;
      color: var(--primary);
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .catalog-h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 10px;
      color: #0f172a;
    }
    .catalog-desc {
      font-size: 13px;
      color: #64748b;
      line-height: 1.6;
      margin-bottom: 16px;
      flex-grow: 1;
    }
    .catalog-meta {
      font-size: 12px;
      color: #94a3b8;
      border-top: 1px solid #f1f5f9;
      padding-top: 12px;
      display: flex;
      justify-content: space-between;
    }

    /* Section 3: Recommended Solutions */
    .solution-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .solution-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px;
      position: relative;
      transition: var(--transition);
    }
    .solution-card.featured {
      border: 2px solid var(--primary);
      box-shadow: var(--shadow-lg);
    }
    .solution-badge {
      position: absolute;
      top: -12px;
      right: 24px;
      background: var(--primary);
      color: #ffffff;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
      letter-spacing: 0.5px;
    }
    .solution-tier {
      font-size: 14px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 6px;
    }
    .solution-title {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 14px;
      color: #0f172a;
    }
    .solution-desc {
      font-size: 14px;
      color: #475569;
      line-height: 1.7;
      margin-bottom: 24px;
    }
    .solution-feature-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 28px;
      padding-top: 18px;
      border-top: 1px solid #f1f5f9;
      font-size: 13.5px;
      color: #334155;
    }
    .solution-feature-list li {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Section 4: Tech Architecture & Vision */
    .arch-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .arch-code-block {
      background: #090d16;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      padding: 24px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 13px;
      color: #38bdf8;
      line-height: 1.6;
      box-shadow: 0 16px 36px rgba(0,0,0,0.5);
    }
    .arch-item {
      margin-bottom: 24px;
    }
    .arch-item h4 {
      font-size: 17px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .arch-item p {
      font-size: 14px;
      color: #94a3b8;
      line-height: 1.7;
    }

    /* Section 5: Step Workflows */
    .workflow-timeline {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
    }
    .step-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      position: relative;
    }
    .step-num {
      width: 36px;
      height: 36px;
      background: var(--primary-light);
      color: var(--primary);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 16px;
      margin-bottom: 16px;
    }
    .step-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 10px;
      color: #0f172a;
    }
    .step-desc {
      font-size: 13px;
      color: #64748b;
      line-height: 1.65;
      margin-bottom: 12px;
    }
    .step-gain {
      font-size: 12px;
      font-weight: 600;
      color: var(--accent-green);
      background: #ecfdf5;
      padding: 4px 8px;
      border-radius: 4px;
      display: inline-block;
    }

    /* Section 6: Metrics */
    .metrics-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .metric-box {
      padding: 28px 16px;
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
    }
    .metric-value {
      font-size: 38px;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.1;
      margin-bottom: 6px;
      font-family: "Plus Jakarta Sans", sans-serif;
    }
    .metric-label {
      font-size: 15px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 4px;
    }
    .metric-sub {
      font-size: 12px;
      color: #64748b;
    }

    /* Section 7: News & Technical Insights */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .news-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }
    .news-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .news-img {
      height: 180px;
      object-fit: cover;
      width: 100%;
    }
    .news-body {
      padding: 22px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .news-tag {
      font-size: 12px;
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 8px;
    }
    .news-title {
      font-size: 16px;
      font-weight: 700;
      line-height: 1.45;
      margin-bottom: 10px;
      color: #0f172a;
    }
    .news-summary {
      font-size: 13px;
      color: #64748b;
      line-height: 1.6;
      flex-grow: 1;
      margin-bottom: 16px;
    }
    .news-link {
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* Section 8: Save & Share / Collaboration */
    .collab-banner {
      background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
      border-radius: var(--radius-lg);
      padding: 44px 48px;
      color: #ffffff;
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .collab-h3 {
      font-size: 26px;
      font-weight: 800;
      margin-bottom: 12px;
    }
    .collab-p {
      font-size: 14px;
      color: #cbd5e1;
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .collab-actions {
      display: flex;
      gap: 14px;
    }
    .share-stat-box {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      padding: 24px;
    }
    .share-stat-title {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 14px;
      color: #38bdf8;
    }
    .share-stat-list {
      list-style: none;
      font-size: 13px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      color: #94a3b8;
    }

    /* Section 9: Topic Index */
    .index-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .index-box {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-sm);
      padding: 20px;
    }
    .index-topic-name {
      font-size: 15px;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 12px;
      border-left: 3px solid var(--primary);
      padding-left: 10px;
    }
    .index-tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .index-tag {
      font-size: 12px;
      background: #ffffff;
      border: 1px solid #cbd5e1;
      color: #475569;
      padding: 3px 8px;
      border-radius: 4px;
    }

    /* Section 10: Testimonials */
    .testi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .testi-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 26px;
      display: flex;
      flex-direction: column;
    }
    .testi-quote {
      font-size: 14px;
      color: #334155;
      line-height: 1.7;
      margin-bottom: 20px;
      flex-grow: 1;
      font-style: italic;
    }
    .testi-person {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .testi-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--primary);
      font-size: 15px;
    }
    .testi-meta-name {
      font-size: 14px;
      font-weight: 700;
      color: #0f172a;
    }
    .testi-meta-role {
      font-size: 12px;
      color: #64748b;
    }

    /* Section 11: Ecosystem Partners */
    .partner-matrix {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
    }
    .partner-pill {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 18px 12px;
      text-align: center;
      font-size: 13px;
      font-weight: 600;
      color: #475569;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }
    .partner-pill:hover {
      border-color: var(--primary);
      color: var(--primary);
      box-shadow: var(--shadow-sm);
    }

    /* Section 12: Lead CTA & Guarantee */
    .lead-box {
      background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%);
      border-radius: var(--radius-lg);
      padding: 50px 40px;
      color: #ffffff;
      text-align: center;
    }
    .lead-box h2 {
      font-size: 30px;
      font-weight: 800;
      margin-bottom: 12px;
    }
    .lead-box p {
      font-size: 15px;
      color: #cbd5e1;
      max-width: 680px;
      margin: 0 auto 30px;
      line-height: 1.7;
    }
    .lead-form {
      display: flex;
      justify-content: center;
      gap: 12px;
      max-width: 620px;
      margin: 0 auto 28px;
      flex-wrap: wrap;
    }
    .form-input {
      padding: 12px 18px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      font-size: 14px;
      flex: 1 1 200px;
      outline: none;
    }
    .form-input::placeholder {
      color: #94a3b8;
    }
    .form-input:focus {
      border-color: #38bdf8;
      background: rgba(255, 255, 255, 0.15);
    }
    .form-select {
      padding: 12px 18px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: #1e293b;
      color: #ffffff;
      font-size: 14px;
      outline: none;
      flex: 1 1 160px;
    }
    .guarantee-bar {
      display: flex;
      justify-content: center;
      gap: 36px;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      padding-top: 24px;
      font-size: 13px;
      color: #cbd5e1;
      flex-wrap: wrap;
    }
    .guarantee-item {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Footer */
    .site-footer {
      background-color: #0b0f19;
      color: #94a3b8;
      border-top: 1px solid #1e293b;
      padding: 70px 0 30px;
      font-size: 13.5px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 50px;
    }
    .footer-brand-title {
      font-size: 18px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 14px;
    }
    .footer-desc {
      line-height: 1.8;
      margin-bottom: 20px;
      color: #64748b;
    }
    .footer-title {
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 18px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 26px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 12.5px;
      color: #64748b;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .compare-container {
        grid-template-columns: 1fr;
      }
      .catalog-grid, .workflow-timeline, .index-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .solution-grid, .news-grid, .testi-grid {
        grid-template-columns: 1fr;
      }
      .arch-layout, .collab-banner {
        grid-template-columns: 1fr;
      }
      .partner-matrix {
        grid-template-columns: repeat(3, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 768px) {
      .hero-h1 {
        font-size: 30px;
      }
      .nav-links {
        display: none;
      }
      .catalog-grid, .workflow-timeline, .metrics-bar, .index-grid, .partner-matrix {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .topbar-flex {
        flex-direction: column;
        gap: 6px;
        text-align: center;
      }
    }
