/* roulang page: index */
:root {
      --bg-dark: #0F141C;
      --bg-deep: #080B10;
      --bg-light: #F4F6F9;
      --bg-card: #151C26;
      --primary: #00E59B;
      --primary-glow: rgba(0, 229, 155, 0.25);
      --primary-dim: #00D26A;
      --accent: #FF6B00;
      --text-main: #FFFFFF;
      --text-muted: #9CA3AF;
      --text-dark: #111827;
      --text-gray: #4B5563;
      --border-dark: rgba(255, 255, 255, 0.1);
      --border-light: rgba(0, 0, 0, 0.08);
      --sidebar-width: 250px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
    body { background-color: var(--bg-dark); color: var(--text-main); line-height: 1.65; overflow-x: hidden; }
    .mono-num { font-family: "DIN", "SF Pro Display", "Roboto", monospace; font-feature-settings: "tnum"; }

    /* Layout System: Desktop Left Sidebar + Right Content Area */
    .app-layout { display: flex; min-height: 100vh; position: relative; }
    
    /* Left Vertical Sidebar (Desktop) */
    .left-sidebar {
      width: var(--sidebar-width);
      background-color: #0B0E14;
      border-right: 1px solid var(--border-dark);
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      z-index: 100;
      display: flex;
      flex-direction: column;
      padding: 1.5rem 1rem;
    }
    .brand-box { padding-bottom: 1.25rem; border-bottom: 1px solid var(--border-dark); margin-bottom: 1.25rem; }
    .brand-box a { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
    .brand-icon { width: 32px; height: 32px; background: var(--primary); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: #000; font-size: 1rem; }
    .brand-title { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: 0.5px; }
    .sidebar-status {
      background: rgba(0, 229, 155, 0.08);
      border: 1px solid rgba(0, 229, 155, 0.2);
      border-radius: 6px;
      padding: 0.5rem 0.75rem;
      font-size: 0.75rem;
      color: var(--primary);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); }
    .sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
    .sidebar-nav a {
      display: block;
      color: var(--text-muted);
      padding: 0.65rem 0.85rem;
      font-size: 0.88rem;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s ease;
      border-left: 2px solid transparent;
    }
    .sidebar-nav a:hover, .sidebar-nav a.active {
      color: #fff;
      background: rgba(255, 255, 255, 0.04);
      border-left-color: var(--primary);
    }
    .sidebar-cta { padding-top: 1rem; border-top: 1px solid var(--border-dark); }

    /* Mobile Header & Drawer */
    .mobile-header { display: none; width: 100%; position: sticky; top: 0; z-index: 101; background: #0B0E14; border-bottom: 1px solid var(--border-dark); }
    .mobile-top-bar { background: #05070a; padding: 0.35rem 1rem; font-size: 0.75rem; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; }
    .mobile-nav-bar { padding: 0.75rem 1rem; display: flex; justify-content: space-between; align-items: center; }
    .mobile-menu-btn { background: transparent; border: 1px solid var(--border-dark); color: #fff; padding: 0.4rem 0.75rem; border-radius: 4px; font-size: 0.85rem; cursor: pointer; }
    .mobile-drawer { display: none; background: #0B0E14; border-bottom: 2px solid var(--primary); padding: 1rem; }
    .mobile-drawer.open { display: block; }
    .mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
    .mobile-drawer a { color: #fff; text-decoration: none; font-size: 0.95rem; display: block; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

    /* Main Content Wrapper */
    .main-wrapper { flex: 1; margin-left: var(--sidebar-width); min-width: 0; background: var(--bg-dark); }
    
    /* Common Section Styles */
    section { padding: 4.5rem 2rem; position: relative; }
    .section-light { background-color: var(--bg-light); color: var(--text-dark); }
    .section-deep { background-color: var(--bg-deep); }
    .section-header { margin-bottom: 3rem; }
    .section-tag { display: inline-block; font-size: 0.78rem; text-transform: uppercase; color: var(--primary); background: rgba(0, 229, 155, 0.1); padding: 0.25rem 0.75rem; border-radius: 4px; border: 1px solid rgba(0, 229, 155, 0.25); margin-bottom: 0.75rem; font-weight: 600; }
    .section-light .section-tag { color: #00875A; background: rgba(0, 210, 106, 0.12); border-color: rgba(0, 210, 106, 0.3); }
    .section-title { font-size: 2.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.8rem; }
    .section-desc { font-size: 1rem; color: var(--text-muted); max-width: 780px; line-height: 1.7; }
    .section-light .section-desc { color: var(--text-gray); }

    /* Common Card & Button UI */
    .card-dark {
      background: var(--bg-card);
      border: 1px solid var(--border-dark);
      border-radius: 10px;
      padding: 1.75rem;
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
      height: 100%;
    }
    .card-dark:hover {
      transform: translateY(-4px);
      border-color: var(--primary);
      box-shadow: 0 12px 24px -6px var(--primary-glow);
    }
    .card-light {
      background: #FFFFFF;
      border: 1px solid var(--border-light);
      border-radius: 10px;
      padding: 1.75rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.03);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      height: 100%;
    }
    .card-light:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--primary);
      color: #04120B;
      font-weight: 700;
      padding: 0.75rem 1.6rem;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s ease;
      border: none;
      cursor: pointer;
      font-size: 0.95rem;
    }
    .btn-primary:hover { background: #00ffad; box-shadow: 0 0 18px rgba(0, 229, 155, 0.4); color: #000; }
    .btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      color: #fff;
      border: 1px solid var(--border-dark);
      font-weight: 600;
      padding: 0.75rem 1.6rem;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s ease;
      font-size: 0.95rem;
    }
    .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); color: #fff; }

    /* Section 1: Hero (Blueprint Variant: Referral/Fission Hero) */
    #hero {
      background: linear-gradient(180deg, rgba(15, 20, 28, 0.7) 0%, #0F141C 100%), url('/assets/images/760e4e99025e2038.jpg') center/cover no-repeat;
      padding: 5rem 2.5rem 4.5rem;
      border-bottom: 1px solid var(--border-dark);
    }
    .hero-container { max-width: 1180px; margin: 0 auto; }
    .hero-h1 { font-size: 2.85rem; font-weight: 800; line-height: 1.25; margin-bottom: 1.25rem; letter-spacing: -0.5px; }
    .hero-h1 span { color: var(--primary); }
    .hero-lead { font-size: 1.15rem; color: #D1D5DB; max-width: 820px; margin-bottom: 2.2rem; line-height: 1.75; }
    .fission-card {
      background: rgba(11, 14, 20, 0.88);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(0, 229, 155, 0.3);
      border-radius: 12px;
      padding: 1.75rem;
      max-width: 820px;
      margin-bottom: 2rem;
    }
    .fission-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
    .fission-title { font-size: 1.05rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
    .badge-fission { background: var(--accent); color: #fff; font-size: 0.75rem; padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 600; }
    .progress-bar-wrap { background: rgba(255,255,255,0.1); border-radius: 10px; height: 10px; width: 100%; overflow: hidden; margin-bottom: 0.75rem; }
    .progress-bar-fill { background: linear-gradient(90deg, var(--primary-dim), var(--primary)); height: 100%; width: 78%; border-radius: 10px; }
    .progress-stats { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); }
    .hero-btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

    /* Section 2: Quick Pillars */
    #quick-pillars { padding-top: 3rem; padding-bottom: 3rem; background: #0B0E14; }
    .pillar-box { display: flex; gap: 1rem; align-items: flex-start; }
    .pillar-num { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
    .pillar-text h3 { font-size: 1.1rem; color: #fff; margin-bottom: 0.35rem; }
    .pillar-text p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

    /* Section 3: Intro */
    .tech-spec-bar {
      margin-top: 1.5rem;
      background: rgba(0,0,0,0.3);
      border: 1px solid var(--border-dark);
      border-left: 3px solid var(--primary);
      padding: 1rem;
      border-radius: 4px;
      font-size: 0.88rem;
      color: #9CA3AF;
    }
    .intro-media { border-radius: 10px; overflow: hidden; border: 1px solid var(--border-dark); position: relative; }
    .intro-media img { width: 100%; height: auto; display: block; }

    /* Section 4: Features Grid */
    .feat-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(0, 229, 155, 0.12); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: bold; margin-bottom: 1rem; border: 1px solid rgba(0, 229, 155, 0.2); }
    
    /* Section 5: Products Matrix */
    .product-tag { font-size: 0.75rem; background: rgba(255,255,255,0.06); padding: 0.25rem 0.5rem; border-radius: 4px; color: #D1D5DB; }
    .spec-table-mini { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.85rem; }
    .spec-table-mini td { padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .spec-table-mini td:first-child { color: var(--text-muted); width: 40%; }
    .spec-table-mini td:last-child { color: #fff; font-weight: 600; text-align: right; }

    /* Section 6: Cases Console */
    .console-box { background: #06080C; border: 1px solid var(--border-dark); border-radius: 10px; padding: 1.5rem; font-size: 0.85rem; }
    .console-header { display: flex; gap: 6px; margin-bottom: 1rem; align-items: center; }
    .console-dot { width: 10px; height: 10px; border-radius: 50%; background: #262B35; }
    .console-dot.red { background: #FF5F56; }
    .console-dot.yellow { background: #FFBD2E; }
    .console-dot.green { background: #27C93F; }

    /* Section 7: Scenarios */
    .scenario-step-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #000; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; margin-right: 0.5rem; }

    /* Section 9: Metrics Strip */
    #metrics { background: linear-gradient(180deg, #0B0E14 0%, #0F141C 100%); border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
    .metric-item { text-align: center; padding: 1rem; }
    .metric-value { font-size: 2.85rem; font-weight: 800; color: var(--primary); line-height: 1.1; margin-bottom: 0.4rem; }
    .metric-label { font-size: 0.9rem; color: var(--text-muted); }

    /* Section 10: Comparison Table */
    .comp-table { width: 100%; border-collapse: collapse; border-radius: 8px; overflow: hidden; background: #fff; }
    .comp-table th { background: #E5E7EB; color: #111827; padding: 1rem; font-size: 0.95rem; text-align: left; }
    .comp-table th.highlight { background: #00D26A; color: #000; }
    .comp-table td { padding: 1rem; border-bottom: 1px solid #F3F4F6; font-size: 0.9rem; color: #374151; vertical-align: top; }
    .comp-table td.highlight { background: rgba(0, 229, 155, 0.05); font-weight: 600; color: #059669; }

    /* Section 11: Reviews Grid */
    .reviewer-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
    .reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: #2D3748; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); }

    /* Section 12: News Strip */
    .news-card { border-bottom: 1px solid var(--border-dark); padding: 1.25rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
    .news-date { font-size: 0.8rem; color: var(--primary); }
    .news-title { font-size: 1.05rem; font-weight: 600; color: #fff; }
    .news-desc { font-size: 0.88rem; color: var(--text-muted); }

    /* Section 13: FAQ Accordion */
    .faq-item { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: 8px; margin-bottom: 1rem; overflow: hidden; }
    .faq-question { padding: 1.25rem; font-weight: 600; color: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
    .faq-question:hover { color: var(--primary); }
    .faq-answer { padding: 0 1.25rem 1.25rem; color: var(--text-muted); font-size: 0.92rem; border-top: 1px solid rgba(255,255,255,0.04); display: none; }
    .faq-item.active .faq-answer { display: block; padding-top: 1rem; }
    .faq-icon { transition: transform 0.2s ease; font-weight: bold; }
    .faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }

    /* Section 14: Bottom Assurance & Inquiry Form */
    .assurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
    .assurance-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border-dark); border-radius: 8px; padding: 1.25rem; text-align: center; }
    .assurance-title { font-weight: 700; font-size: 0.95rem; color: #fff; margin-bottom: 0.35rem; }
    .assurance-desc { font-size: 0.8rem; color: var(--text-muted); }
    .form-container { background: #0B0E14; border: 1px solid rgba(0, 229, 155, 0.3); border-radius: 12px; padding: 2.5rem; max-width: 820px; margin: 0 auto; }
    .form-input { width: 100%; background: #151C26; border: 1px solid var(--border-dark); border-radius: 6px; padding: 0.75rem 1rem; color: #fff; margin-bottom: 1rem; font-size: 0.9rem; }
    .form-input:focus { outline: none; border-color: var(--primary); }

    /* Floating Mobile Bar (< 768px) */
    .mobile-float-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: #0B0E14;
      border-top: 1px solid var(--border-dark);
      padding: 0.75rem 1rem;
      z-index: 999;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
    }

    /* Footer */
    footer { background: #07090D; border-top: 1px solid var(--border-dark); padding: 4rem 2rem 2rem; color: var(--text-muted); font-size: 0.88rem; }
    .footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; font-weight: 600; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 0.65rem; }
    .footer-col a { color: var(--text-muted); text-decoration: none; }
    .footer-col a:hover { color: var(--primary); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-size: 0.8rem; }

    /* Responsive Breakpoints */
    @media (max-width: 1023px) {
      .left-sidebar { display: none; }
      .main-wrapper { margin-left: 0; }
      .mobile-header { display: block; }
      .hero-h1 { font-size: 2.2rem; }
    }
    @media (max-width: 767px) {
      .mobile-float-bar { display: flex; }
      .assurance-grid { grid-template-columns: repeat(2, 1fr); }
      section { padding: 3rem 1.25rem; }
      .hero-h1 { font-size: 1.85rem; }
      .fission-header { flex-direction: column; align-items: flex-start; }
      .metric-value { font-size: 2.2rem; }
      body { padding-bottom: 60px; }
    }
