/* roulang page: index */
:root {
      --deep-charcoal: #1C1C1E;
      --wine-red: #7A263A;
      --wine-dark: #5E1D2B;
      --warm-gold: #C8A96E;
      --gold-light: #D9B77A;
      --surface-warm: #F5F4F1;
      --text-heading: #1A1A1A;
      --text-body: #4A4A4A;
      --text-muted: #8A8A8A;
      --border-light: #E5E5E5;
      --white: #FFFFFF;
      --focus-outline: 0 0 0 3px rgba(122, 38, 58, 0.25);
      --radius-sm: 6px;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.08);
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      background-color: var(--white);
      color: var(--text-body);
      line-height: 1.75;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4, .super-title {
      color: var(--text-heading);
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    a {
      color: var(--wine-red);
      text-decoration: none;
      transition: color 0.2s ease, opacity 0.2s;
    }
    a:hover {
      color: var(--wine-dark);
      text-decoration: underline;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
      outline: none;
      box-shadow: var(--focus-outline);
      border-radius: var(--radius-sm);
    }

    /* Custom Bootstrap overrides */
    .btn {
      border-radius: var(--radius-sm);
      font-weight: 600;
      letter-spacing: 0.04em;
      padding: 0.7rem 1.8rem;
      transition: all 0.25s ease;
      border: 1px solid transparent;
    }
    .btn-primary-custom {
      background-color: var(--wine-red);
      border-color: var(--wine-red);
      color: var(--white);
    }
    .btn-primary-custom:hover {
      background-color: var(--wine-dark);
      border-color: var(--wine-dark);
      color: var(--white);
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(122, 38, 58, 0.2);
    }
    .btn-outline-light-custom {
      border: 1px solid var(--white);
      color: var(--white);
      background: transparent;
    }
    .btn-outline-light-custom:hover {
      background-color: var(--white);
      color: var(--deep-charcoal);
      border-color: var(--white);
    }
    .btn-gold {
      background-color: var(--warm-gold);
      border-color: var(--warm-gold);
      color: var(--deep-charcoal);
      font-weight: 700;
    }
    .btn-gold:hover {
      background-color: var(--gold-light);
      border-color: var(--gold-light);
      color: var(--deep-charcoal);
      transform: scale(1.03);
      box-shadow: 0 6px 16px rgba(200, 169, 110, 0.5);
    }

    /* Navigation */
    .navbar-custom {
      background-color: var(--white);
      border-bottom: 1px solid var(--border-light);
      padding: 0.8rem 0;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
      z-index: 1030;
    }
    .navbar-brand-custom {
      display: flex;
      align-items: center;
      font-weight: 700;
      color: var(--wine-red) !important;
      font-size: 1.35rem;
      letter-spacing: -0.3px;
    }
    .brand-icon {
      width: 32px;
      height: 32px;
      margin-right: 10px;
      background: var(--wine-red);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M6 3h12l2 8-8 10L4 11l2-8z"/><circle cx="12" cy="11" r="1.8"/></svg>') center/cover no-repeat;
      background-color: var(--wine-red);
      display: inline-block;
    }
    .nav-link-custom {
      color: var(--text-body) !important;
      font-weight: 500;
      margin: 0 0.25rem;
      padding: 0.5rem 0.8rem !important;
      position: relative;
      transition: color 0.2s;
      border-bottom: 2px solid transparent;
    }
    .nav-link-custom:hover, .nav-link-custom.active {
      color: var(--wine-red) !important;
    }
    .nav-link-custom::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--wine-red);
      transition: width 0.25s ease;
    }
    .nav-link-custom:hover::after, .nav-link-custom.active::after {
      width: 70%;
    }

    .search-box {
      background: var(--surface-warm);
      border-radius: var(--radius-sm);
      padding: 0.4rem 0.9rem;
      display: flex;
      align-items: center;
      border: 1px solid transparent;
      transition: border 0.2s;
      margin-right: 1rem;
    }
    .search-box input {
      border: none;
      background: transparent;
      outline: none;
      width: 100px;
      font-size: 0.9rem;
    }
    .search-box:focus-within {
      border-color: var(--wine-red);
    }

    .offcanvas-custom {
      background-color: var(--deep-charcoal);
    }
    .offcanvas-custom .nav-link {
      color: var(--white) !important;
      font-size: 1.2rem;
      padding: 0.8rem 1rem;
    }
    .offcanvas-custom .btn-primary-custom {
      width: 100%;
    }

    /* Hero */
    .hero-section {
      background: linear-gradient(180deg, rgba(28,28,30,0.7) 0%, rgba(28,28,30,0.2) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 85vh;
      display: flex;
      align-items: center;
      color: white;
      position: relative;
    }
    .hero-content {
      max-width: 650px;
      animation: fadeUp 0.8s ease-out;
    }
    .hero-title {
      font-size: 4rem;
      font-weight: 700;
      line-height: 1.2;
      color: white;
      letter-spacing: -0.02em;
    }
    .hero-sub {
      font-size: 1.2rem;
      opacity: 0.9;
      margin: 1.2rem 0 2rem;
    }

    @keyframes fadeUp {
      0% { opacity: 0; transform: translateY(25px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    .delay-btn { animation: fadeUp 0.8s 0.2s both; }

    /* Section titles */
    .section-title {
      font-size: 2.5rem;
      font-weight: 600;
      margin-bottom: 1rem;
      display: inline-block;
    }
    .gold-line {
      width: 60px;
      height: 4px;
      background: var(--warm-gold);
      margin: 0.5rem 0 2rem;
    }

    /* Pain points */
    .pain-grid .pain-item {
      display: flex;
      align-items: flex-start;
      gap: 2rem;
      margin-bottom: 3rem;
    }
    .pain-number {
      font-size: 5rem;
      font-weight: 700;
      color: var(--warm-gold);
      line-height: 1;
      min-width: 90px;
    }

    /* Solution交错 */
    .solution-img {
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-card);
      transition: transform 0.5s ease, opacity 0.6s;
    }
    .solution-img.visible {
      transform: scale(1);
      opacity: 1;
    }
    .solution-text a {
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: gap 0.2s;
    }
    .solution-text a:hover { gap: 10px; }

    /* Results */
    .results-bg {
      background: var(--deep-charcoal);
      color: white;
    }
    .stat-number {
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--warm-gold);
    }

    /* Testimonials carousel */
    .testimonial-card {
      background: var(--white);
      border-radius: var(--radius-sm);
      padding: 3rem;
      box-shadow: var(--shadow-card);
      position: relative;
    }
    .quote-icon {
      font-size: 6rem;
      color: var(--warm-gold);
      opacity: 0.15;
      position: absolute;
      top: 10px;
      left: 25px;
      line-height: 1;
    }
    .carousel-indicators [data-bs-target] {
      background-color: var(--warm-gold);
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
      filter: invert(24%) sepia(62%) saturate(987%) hue-rotate(314deg);
    }

    /* FAQ accordion */
    .accordion-button:not(.collapsed) {
      background-color: var(--white);
      color: var(--wine-red);
      box-shadow: none;
      border-left: 3px solid var(--wine-red);
      font-weight: 600;
    }
    .accordion-button:focus {
      border-color: var(--wine-red);
      box-shadow: var(--focus-outline);
    }
    .accordion-item {
      border: 1px solid var(--border-light);
      margin-bottom: 0.8rem;
    }

    /* Footer */
    .footer-brand {
      font-weight: 700;
      color: var(--white);
    }
    .footer-link {
      color: #A0A0A0;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-link:hover { color: var(--warm-gold); }

    @media (max-width: 992px) {
      .hero-title { font-size: 2.8rem; }
      .section-title { font-size: 2rem; }
    }
    @media (max-width: 768px) {
      .hero-title { font-size: 2.2rem; }
      .pain-item { flex-direction: column; gap: 0.5rem; }
      .btn-group-mobile { display: flex; flex-direction: column; gap: 12px; }
      .btn-group-mobile .btn { width: 100%; }
    }
    @media (prefers-reduced-motion: reduce) {
      * { animation: none !important; transition: none !important; }
    }
