/* roulang page: index */
:root {
      --deep-midnight: #0A0E27;
      --champion-gold: #D4AF37;
      --gold-light: #F0D060;
      --competitive-red: #FF4655;
      --bg-light: #F5F6FA;
      --card-white: #FFFFFF;
      --text-primary: #0A0E27;
      --text-body: #4A4F6A;
      --text-muted: #8A8FA8;
      --nav-text: #B0B4CC;
      --border-light: #E8EAF0;
      --shadow-sm: 0 4px 12px rgba(10, 14, 39, 0.04);
      --shadow-card: 0 8px 30px rgba(10, 14, 39, 0.06);
      --shadow-hover: 0 16px 40px rgba(10, 14, 39, 0.12);
      --radius-card: 20px;
      --radius-btn: 50px;
      --sidebar-width: 240px;
      --transition: 0.3s ease;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      background-color: var(--bg-light);
      color: var(--text-body);
      line-height: 1.6;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    h1, h2, h3, h4, h5, h6 {
      color: var(--text-primary);
      font-weight: 700;
    }

    /* ---------- App Shell Sidebar ---------- */
    .app-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--sidebar-width);
      height: 100vh;
      background-color: var(--deep-midnight);
      backdrop-filter: blur(12px);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 2rem 1.5rem;
      z-index: 1030;
      box-shadow: 4px 0 20px rgba(0,0,0,0.1);
      transition: transform var(--transition);
    }

    .sidebar-logo {
      font-size: 1.8rem;
      font-weight: 700;
      background: linear-gradient(135deg, var(--champion-gold), var(--gold-light));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 2.5rem;
      letter-spacing: 1px;
    }

    .sidebar-menu {
      list-style: none;
      padding: 0;
      flex-grow: 1;
    }

    .sidebar-menu li {
      margin-bottom: 0.75rem;
    }

    .sidebar-menu a {
      display: block;
      color: var(--nav-text);
      padding: 0.75rem 1rem;
      border-radius: 12px;
      font-weight: 500;
      font-size: 1rem;
      position: relative;
      transition: var(--transition);
    }

    .sidebar-menu a::before {
      content: '';
      position: absolute;
      left: -0.5rem;
      top: 15%;
      height: 70%;
      width: 3px;
      background: var(--champion-gold);
      border-radius: 4px;
      transform: scaleY(0);
      transition: transform var(--transition);
    }

    .sidebar-menu a:hover,
    .sidebar-menu a.active {
      color: var(--champion-gold);
    }

    .sidebar-menu a:hover::before,
    .sidebar-menu a.active::before {
      transform: scaleY(1);
    }

    .sidebar-bottom {
      display: flex;
      gap: 1.2rem;
      color: var(--nav-text);
      font-size: 1.3rem;
      margin-top: 2rem;
    }

    .sidebar-bottom a {
      color: var(--nav-text);
    }

    .sidebar-bottom a:hover {
      color: var(--champion-gold);
    }

    /* Main Content Wrapper */
    .main-content {
      margin-left: var(--sidebar-width);
      width: calc(100% - var(--sidebar-width));
      min-height: 100vh;
    }

    /* Mobile nav toggle */
    .mobile-nav-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      color: var(--champion-gold);
    }

    /* Mobile sidebar overlay */
    .sidebar-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.4);
      z-index: 1025;
    }

    /* ---------- Hero ---------- */
    #hero {
      height: 100vh;
      background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      background-blend-mode: overlay;
    }

    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 30% 40%, rgba(212,175,55,0.1) 0%, transparent 50%);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      width: 100%;
    }

    .hero-title {
      font-size: 3.4rem;
      font-weight: 800;
      color: #FFFFFF;
      line-height: 1.2;
      letter-spacing: -0.5px;
    }

    .hero-title span {
      background: linear-gradient(135deg, var(--champion-gold), var(--gold-light));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-sub {
      font-size: 1.25rem;
      color: rgba(255,255,255,0.8);
      margin-top: 1.5rem;
      max-width: 550px;
    }

    .btn-primary-gold {
      background: linear-gradient(135deg, var(--champion-gold), var(--gold-light));
      color: var(--deep-midnight);
      font-weight: 700;
      border-radius: var(--radius-btn);
      padding: 0.85rem 2.4rem;
      border: none;
      box-shadow: 0 8px 22px rgba(212,175,55,0.45);
      transition: var(--transition);
      font-size: 1.1rem;
    }

    .btn-primary-gold:hover {
      transform: scale(1.04);
      box-shadow: 0 12px 28px rgba(212,175,55,0.6);
      background: linear-gradient(135deg, var(--gold-light), #FFE484);
      color: #0A0E27;
    }

    .btn-outline-gold {
      border: 2px solid var(--champion-gold);
      color: var(--champion-gold);
      background: transparent;
      font-weight: 600;
      border-radius: var(--radius-btn);
      padding: 0.8rem 2.2rem;
      margin-left: 1rem;
      transition: var(--transition);
    }

    .btn-outline-gold:hover {
      background: rgba(212,175,55,0.1);
      color: #FFE484;
    }

    .hero-badge {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      padding: 1rem 1.8rem;
      color: white;
      font-weight: 600;
      border: 1px solid rgba(212,175,55,0.3);
    }

    .hero-badge .number {
      font-size: 2rem;
      font-weight: 800;
      color: var(--champion-gold);
    }

    /* ---------- Generic Sections ---------- */
    .section-padding {
      padding: 6rem 0;
    }

    .section-title {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 0.75rem;
      text-align: center;
      position: relative;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: var(--champion-gold);
      margin: 0.8rem auto 1.5rem;
      border-radius: 4px;
    }

    .card-custom {
      background: var(--card-white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      border: none;
    }

    .card-custom:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    /* Pain points */
    .pain-card {
      border-left: 5px solid var(--competitive-red);
      background: white;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 8px 24px rgba(255,70,85,0.08);
    }

    .solution-card {
      border: 1px solid transparent;
      border-image: linear-gradient(135deg, var(--champion-gold), transparent) 1;
      border-radius: 24px;
      background: white;
      padding: 2rem;
      transition: var(--transition);
    }

    .solution-card:hover {
      border-color: var(--champion-gold);
      box-shadow: 0 20px 35px rgba(212,175,55,0.1);
    }

    .data-badge-light {
      background: #F5F6FA;
      border-radius: 24px;
      padding: 2rem 1.2rem;
      text-align: center;
    }

    .big-number {
      font-size: 3rem;
      font-weight: 800;
      color: var(--champion-gold);
    }

    .testimonial-card {
      background: white;
      border-radius: 28px;
      padding: 2rem;
      box-shadow: var(--shadow-card);
    }

    .faq-accordion .accordion-button {
      font-weight: 600;
      color: var(--text-primary);
      background: white;
    }

    .faq-accordion .accordion-button:not(.collapsed) {
      color: var(--champion-gold);
      background-color: #FAFBFC;
    }

    footer {
      background: var(--deep-midnight);
      color: var(--nav-text);
    }

    footer a:hover {
      color: var(--champion-gold);
    }

    @media (max-width: 992px) {
      .app-sidebar {
        transform: translateX(-100%);
        width: 260px;
      }
      .app-sidebar.mobile-open {
        transform: translateX(0);
      }
      .main-content {
        margin-left: 0;
        width: 100%;
      }
      .mobile-nav-toggle {
        display: block;
      }
      .sidebar-overlay.active {
        display: block;
      }
    }

    @media (max-width: 768px) {
      .hero-title {
        font-size: 2.4rem;
      }
      .section-title {
        font-size: 2rem;
      }
    }
