/* roulang page: index */
:root {
      --bg-primary: #0B132B;
      --bg-secondary: #1C2541;
      --bg-elevated: #233156;
      --bg-alt: #070D1E;
      --text-main: #E0E6ED;
      --text-muted: #97A9BD;
      --accent-gold: #E0A96D;
      --accent-gold-hover: #c99359;
      --accent-cyan: #48CAE4;
      --accent-cyan-hover: #36b3cd;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(72, 202, 228, 0.4);
      --card-radius: 8px;
      --shadow-default: 0 10px 30px rgba(0, 0, 0, 0.25);
      --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.45);
      --font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg-primary);
      color: var(--text-main);
      line-height: 1.7;
      overflow-x: hidden;
      padding-bottom: 70px; /* Space for sticky bar */
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.25s ease;
    }
    a:hover {
      color: var(--accent-cyan);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* Top Bar */
    .site-topbar {
      background-color: var(--bg-alt);
      font-size: 0.85rem;
      border-bottom: 1px solid var(--border-color);
      color: var(--text-muted);
      padding: 6px 0;
    }
    .status-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      background-color: #10B981;
      border-radius: 50%;
      margin-right: 6px;
      box-shadow: 0 0 8px #10B981;
    }

    /* Navbar */
    .custom-navbar {
      background-color: rgba(11, 19, 43, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      padding: 14px 0;
      transition: all 0.3s ease;
    }
    .navbar-brand-text {
      font-size: 1.35rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: #FFFFFF;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .navbar-brand-badge {
      font-size: 0.7rem;
      background: linear-gradient(135deg, var(--accent-gold), #B37D45);
      color: #070D1E;
      padding: 2px 6px;
      border-radius: 4px;
      font-weight: 800;
      letter-spacing: 0;
    }
    .nav-link {
      color: var(--text-muted) !important;
      font-size: 0.95rem;
      font-weight: 500;
      padding: 8px 14px !important;
      border-radius: 4px;
      transition: color 0.2s ease;
    }
    .nav-link:hover, .nav-link.active {
      color: #FFFFFF !important;
    }
    .btn-gold {
      background: linear-gradient(135deg, var(--accent-gold), #C88E52);
      color: #070D1E;
      font-weight: 600;
      padding: 8px 20px;
      border-radius: 6px;
      border: none;
      box-shadow: 0 4px 14px rgba(224, 169, 109, 0.3);
      transition: all 0.25s ease;
    }
    .btn-gold:hover {
      background: linear-gradient(135deg, #ECC18D, var(--accent-gold));
      color: #070D1E;
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(224, 169, 109, 0.45);
    }
    .btn-cyan-outline {
      background: transparent;
      color: var(--accent-cyan);
      border: 1px solid var(--accent-cyan);
      font-weight: 600;
      padding: 8px 20px;
      border-radius: 6px;
      transition: all 0.25s ease;
    }
    .btn-cyan-outline:hover {
      background: rgba(72, 202, 228, 0.1);
      color: #FFFFFF;
      border-color: #FFFFFF;
      transform: translateY(-2px);
    }

    /* Hero Carousel */
    .hero-section {
      position: relative;
      background-color: var(--bg-alt);
      overflow: hidden;
      border-bottom: 1px solid var(--border-color);
    }
    .carousel-item-content {
      min-height: 580px;
      padding: 90px 0;
      display: flex;
      align-items: center;
      position: relative;
      z-index: 2;
    }
    .hero-bg-cover {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.18;
      z-index: 1;
    }
    .hero-badge-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(72, 202, 228, 0.12);
      border: 1px solid rgba(72, 202, 228, 0.3);
      color: var(--accent-cyan);
      font-size: 0.85rem;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 20px;
    }
    .hero-title {
      font-size: 2.85rem;
      font-weight: 800;
      line-height: 1.25;
      color: #FFFFFF;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }
    .hero-sub {
      font-size: 1.12rem;
      color: var(--text-muted);
      margin-bottom: 32px;
      max-width: 640px;
    }
    .hero-indicators-custom [data-bs-target] {
      width: 32px;
      height: 4px;
      background-color: rgba(255, 255, 255, 0.3);
      border: none;
      margin: 0 4px;
      border-radius: 2px;
      transition: all 0.3s ease;
    }
    .hero-indicators-custom .active {
      width: 52px;
      background-color: var(--accent-gold);
    }

    /* Section Global Styles */
    section {
      padding: 90px 0;
      position: relative;
    }
    .section-header {
      margin-bottom: 50px;
    }
    .section-eyebrow {
      color: var(--accent-cyan);
      font-size: 0.88rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 8px;
      display: block;
    }
    .section-title {
      font-size: 2.15rem;
      font-weight: 700;
      color: #FFFFFF;
      line-height: 1.35;
      margin-bottom: 14px;
    }
    .section-desc {
      color: var(--text-muted);
      max-width: 760px;
      font-size: 1.02rem;
    }

    /* Standard Cards */
    .custom-card {
      background-color: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: var(--card-radius);
      box-shadow: var(--shadow-default);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .custom-card:hover {
      transform: translateY(-4px);
      border-color: rgba(72, 202, 228, 0.3);
      box-shadow: var(--shadow-hover);
    }
    .card-cover-wrapper {
      position: relative;
      border-radius: calc(var(--card-radius) - 1px) calc(var(--card-radius) - 1px) 0 0;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      background-color: #0d1527;
    }
    .card-cover-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .custom-card:hover .card-cover-wrapper img {
      transform: scale(1.04);
    }

    /* Metrics Strip */
    .metrics-bar {
      background: linear-gradient(180deg, var(--bg-alt) 0%, #0d1733 100%);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 60px 0;
    }
    .metric-num {
      font-size: 2.8rem;
      font-weight: 800;
      color: #FFFFFF;
      line-height: 1;
      margin-bottom: 8px;
      font-variant-numeric: tabular-nums;
    }
    .metric-num span {
      color: var(--accent-cyan);
      font-size: 1.6rem;
    }
    .metric-label {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    /* Dark Architecture Section */
    .arch-section {
      background-color: #060A17;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .arch-spec-box {
      background-color: var(--bg-secondary);
      border-left: 3px solid var(--accent-gold);
      padding: 20px;
      border-radius: 0 var(--card-radius) var(--card-radius) 0;
      margin-bottom: 20px;
    }

    /* Accordion Custom */
    .accordion-item {
      background-color: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: var(--card-radius) !important;
      margin-bottom: 14px;
      overflow: hidden;
    }
    .accordion-button {
      background-color: var(--bg-secondary);
      color: #FFFFFF;
      font-weight: 600;
      font-size: 1.05rem;
      padding: 18px 22px;
      box-shadow: none !important;
    }
    .accordion-button:not(.collapsed) {
      background-color: var(--bg-elevated);
      color: var(--accent-cyan);
    }
    .accordion-button::after {
      filter: invert(1);
    }
    .accordion-body {
      background-color: var(--bg-secondary);
      color: var(--text-muted);
      font-size: 0.98rem;
      line-height: 1.8;
      border-top: 1px solid var(--border-color);
      padding: 22px;
    }

    /* Product Plan Pricing Matrix */
    .plan-card {
      position: relative;
      border: 1px solid var(--border-color);
      border-radius: var(--card-radius);
      background-color: var(--bg-secondary);
      padding: 36px 28px;
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .plan-card.recommended {
      border-color: var(--accent-gold);
      background: linear-gradient(180deg, #222c4d 0%, #172038 100%);
      box-shadow: 0 12px 36px rgba(224, 169, 109, 0.15);
      transform: scale(1.02);
    }
    .plan-badge {
      position: absolute;
      top: -14px;
      right: 24px;
      background: var(--accent-gold);
      color: #070D1E;
      font-size: 0.75rem;
      font-weight: 800;
      padding: 4px 12px;
      border-radius: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    /* Comparison Table for Compliance */
    .security-check-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0 10px;
    }
    .security-check-table tr {
      background-color: var(--bg-secondary);
      border-radius: var(--card-radius);
    }
    .security-check-table td {
      padding: 18px 22px;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .security-check-table td:first-child {
      border-left: 1px solid var(--border-color);
      border-radius: var(--card-radius) 0 0 var(--card-radius);
    }
    .security-check-table td:last-child {
      border-right: 1px solid var(--border-color);
      border-radius: 0 var(--card-radius) var(--card-radius) 0;
    }

    /* Footer */
    .site-footer {
      background-color: #050812;
      border-top: 1px solid var(--border-color);
      padding: 70px 0 30px;
      color: var(--text-muted);
      font-size: 0.92rem;
    }
    .footer-title {
      color: #FFFFFF;
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 20px;
      position: relative;
    }
    .footer-links-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links-list li {
      margin-bottom: 10px;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      margin-top: 50px;
      padding-top: 25px;
      font-size: 0.85rem;
    }

    /* Sticky Bottom Bar */
    .sticky-bottom-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(11, 19, 43, 0.95);
      backdrop-filter: blur(10px);
      border-top: 1px solid var(--border-color);
      padding: 12px 0;
      z-index: 1000;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }

    /* Responsive */
    @media (max-width: 991.98px) {
      .hero-title {
        font-size: 2.1rem;
      }
      .plan-card.recommended {
        transform: none;
        margin-top: 20px;
        margin-bottom: 20px;
      }
      .carousel-item-content {
        min-height: 480px;
        padding: 60px 0;
      }
    }
    @media (max-width: 575.98px) {
      .hero-title {
        font-size: 1.75rem;
      }
      .section-title {
        font-size: 1.6rem;
      }
      .metric-num {
        font-size: 2.2rem;
      }
    }
