/* roulang page: index */
:root {
      --deep-purple-black: #0D0B1A;
      --energy-purple: #7B2FBE;
      --energy-purple-dark: #5A1F8A;
      --flow-gold: #D4A843;
      --neon-cyan: #00E5A0;
      --card-bg: rgba(21, 18, 42, 0.7);
      --text-primary: #EDE9F0;
      --text-secondary: #9B97AA;
      --border-color: #2A2540;
      --border-glow: #7B2FBE;
      --shadow-card: 0 4px 24px rgba(123, 47, 190, 0.12);
      --shadow-hover: 0 8px 40px rgba(123, 47, 190, 0.25);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Inter', sans-serif;
      --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Inter', sans-serif;
      --font-mono: 'DIN Alternate', 'Roboto Mono', 'SF Mono', 'Courier New', monospace;
      --container-max: 1280px;
      --header-height: 64px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--deep-purple-black);
      color: var(--text-primary);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-body);
      border: none;
      background: none;
      transition: all 0.25s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 600;
    }

    input {
      font-family: var(--font-body);
      outline: none;
    }

    /* HEADER / NAV */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: rgba(13, 11, 26, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid transparent;
      background-image: linear-gradient(rgba(13,11,26,0.85), rgba(13,11,26,0.85)), linear-gradient(90deg, var(--energy-purple), var(--flow-gold));
      background-origin: border-box;
      background-clip: padding-box, border-box;
      z-index: 1000;
      display: flex;
      align-items: center;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--text-primary);
      letter-spacing: 1px;
    }

    .logo i {
      color: var(--flow-gold);
      font-size: 1.8rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text-secondary);
    }

    .nav-links a {
      position: relative;
      padding: 8px 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--flow-gold);
      transition: width 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--text-primary);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-icon {
      color: var(--text-secondary);
      font-size: 1.2rem;
      cursor: pointer;
      transition: color 0.2s;
    }
    .search-icon:hover { color: var(--flow-gold); }

    .login-link {
      color: var(--text-secondary);
      font-weight: 500;
      font-size: 0.9rem;
    }
    .login-link:hover { color: var(--text-primary); }

    .btn-primary-small {
      background: linear-gradient(135deg, var(--energy-purple), var(--energy-purple-dark));
      border: 1px solid var(--flow-gold);
      color: white;
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      box-shadow: 0 0 8px rgba(212, 168, 67, 0.3);
    }
    .btn-primary-small:hover {
      background: linear-gradient(135deg, #8e3fd4, #6b239a);
      box-shadow: 0 0 16px rgba(212,168,67,0.6);
      transform: scale(1.02);
    }

    .mobile-menu-btn {
      display: none;
      font-size: 1.6rem;
      color: var(--text-primary);
    }

    /* HERO */
    #hero {
      padding: 140px 0 80px;
      background: radial-gradient(circle at 30% 30%, #2A1A4E 0%, #0D0B1A 70%);
      position: relative;
      overflow: hidden;
    }
    #hero::before {
      content: "";
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.15;
      pointer-events: none;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      position: relative;
      z-index: 2;
    }
    .hero-left h1 {
      font-family: var(--font-heading);
      font-size: 3.5rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
      background: linear-gradient(to right, #EDE9F0, #D4A843);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-sub {
      font-size: 1.15rem;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 480px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-hero-primary {
      background: linear-gradient(135deg, #7B2FBE, #5A1F8A);
      border: 1px solid var(--flow-gold);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-size: 1rem;
      font-weight: 600;
      box-shadow: 0 0 12px rgba(212,168,67,0.25);
    }
    .btn-hero-primary:hover { transform: scale(1.03); box-shadow: 0 0 20px rgba(212,168,67,0.5); }
    .btn-hero-secondary {
      background: transparent;
      border: 1px solid var(--flow-gold);
      color: var(--flow-gold);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
    }
    .btn-hero-secondary:hover {
      background: rgba(123,47,190,0.15);
    }
    .hero-right {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .hero-stat {
      display: flex;
      align-items: baseline;
      gap: 12px;
      font-family: var(--font-mono);
    }
    .hero-stat .number {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--neon-cyan);
    }
    .hero-stat .number.gold {
      color: var(--flow-gold);
    }
    .hero-stat .desc {
      color: var(--text-secondary);
      font-size: 1rem;
      font-family: var(--font-body);
    }

    /* SECTIONS GENERAL */
    section {
      padding: 80px 0;
    }
    .section-label {
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--flow-gold);
      margin-bottom: 8px;
      font-weight: 600;
    }
    h2 {
      font-family: var(--font-heading);
      font-size: 2.4rem;
      font-weight: 700;
      margin-bottom: 24px;
      line-height: 1.3;
    }

    /* STATS DASHBOARD */
    #stats-dashboard {
      background-color: #0A0814;
      background-image: linear-gradient(rgba(42,37,64,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(42,37,64,0.3) 1px, transparent 1px);
      background-size: 30px 30px;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 32px;
    }
    .stat-card {
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-card);
      transition: all 0.2s;
    }
    .stat-card:hover {
      border-color: var(--border-glow);
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
    .stat-icon {
      font-size: 1.8rem;
      color: var(--flow-gold);
      margin-bottom: 12px;
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--neon-cyan);
    }
    .stat-label {
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    /* SERVICES */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 32px;
    }
    .service-card {
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-card);
      padding: 28px;
      transition: 0.25s;
    }
    .service-card:hover {
      border-color: var(--energy-purple);
      box-shadow: var(--shadow-hover);
      transform: translateY(-6px);
    }
    .service-icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, #7B2FBE, #5A1F8A);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
      margin-bottom: 20px;
    }
    .service-card h3 {
      font-size: 1.25rem;
      margin-bottom: 10px;
    }
    .service-desc {
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-bottom: 16px;
    }
    .service-link {
      color: var(--flow-gold);
      font-weight: 600;
    }

    /* COMPARISON */
    .comparison-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-top: 32px;
    }
    .comp-col {
      background: rgba(21,18,42,0.5);
      border-radius: var(--radius-card);
      padding: 32px;
      border: 1px solid var(--border-color);
    }
    .comp-col.before { border-left: 4px solid #5a5a6e; }
    .comp-col.after { border-left: 4px solid var(--energy-purple); background: rgba(123,47,190,0.08); }
    .comp-title {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: var(--text-secondary);
    }
    .comp-col.after .comp-title { color: var(--flow-gold); }
    .comp-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 16px;
      font-family: var(--font-mono);
      font-size: 1.8rem;
      font-weight: 700;
    }
    .comp-row .label { font-size: 1rem; font-family: var(--font-body); color: var(--text-secondary); }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 32px auto 0;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-color);
    }
    .faq-question {
      width: 100%;
      background: transparent;
      color: var(--text-primary);
      padding: 20px 8px;
      font-size: 1.1rem;
      font-weight: 600;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-left: 3px solid var(--flow-gold);
      padding-left: 16px;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      color: var(--text-secondary);
      padding-left: 24px;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 16px;
    }
    .faq-item.active .faq-question {
      border-left-color: var(--neon-cyan);
    }

    /* CTA FORM */
    #cta-form {
      background: linear-gradient(135deg, #1A1035 0%, #2A1A4E 100%);
      position: relative;
      overflow: hidden;
    }
    #cta-form::after {
      content: "";
      position: absolute;
      top: -50%;
      right: -50%;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle, rgba(123,47,190,0.3) 0%, transparent 70%);
    }
    .cta-content {
      position: relative;
      z-index: 2;
      text-align: center;
    }
    .cta-form-grid {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 24px;
    }
    .cta-input {
      background: #15122A;
      border: 1px solid #2A2540;
      padding: 14px 20px;
      border-radius: var(--radius-input);
      color: white;
      min-width: 200px;
    }
    .cta-input:focus {
      border-color: var(--flow-gold);
      box-shadow: 0 0 12px rgba(212,168,67,0.4);
    }
    .btn-cta {
      background: var(--neon-cyan);
      color: #0D0B1A;
      font-weight: 700;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(0,229,160,0.5); }
      70% { box-shadow: 0 0 0 12px rgba(0,229,160,0); }
      100% { box-shadow: 0 0 0 0 rgba(0,229,160,0); }
    }

    /* FOOTER */
    #footer {
      background: #0A0814;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }
    .footer-col h4 {
      color: var(--flow-gold);
      margin-bottom: 16px;
    }
    .footer-col a {
      display: block;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }
    .copyright {
      border-top: 1px solid #2A2540;
      margin-top: 40px;
      padding-top: 20px;
      text-align: center;
      color: var(--text-secondary);
    }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
      .nav-links, .nav-actions .login-link, .nav-actions .btn-primary-small { display: none; }
      .mobile-menu-btn { display: block; }
      .stats-grid { grid-template-columns: repeat(2,1fr); }
      .comparison-wrapper { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      h1 { font-size: 2.5rem !important; }
      h2 { font-size: 2rem; }
    }
    @media (max-width: 520px) {
      .services-grid, .stats-grid { grid-template-columns: 1fr; }
      .hero-buttons { flex-direction: column; }
      .cta-form-grid { flex-direction: column; align-items: center; }
    }
