/* roulang page: index */
:root {
      --primary: #3A3D6B;
      --primary-rgb: 58, 61, 107;
      --secondary: #E8DED1;
      --accent: #D49B6A;
      --accent-rgb: 212, 155, 106;
      --text: #1E1E2F;
      --text-soft: #4a4a5a;
      --bg: #FBF8F5;
      --card-bg: #FFFFFF;
      --border-light: #D1CCC3;
      --shadow-sm: 0 2px 8px rgba(58, 61, 107, 0.06);
      --shadow-md: 0 6px 18px rgba(58, 61, 107, 0.08);
      --shadow-lg: 0 8px 24px rgba(58, 61, 107, 0.12);
      --radius-btn: 8px;
      --radius-card: 12px;
      --radius-input: 6px;
      --transition: 0.25s ease;
      --font-h1: 2.75rem;
      --font-h2: 2rem;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: system-ui, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    a:hover {
      color: var(--primary);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    /* 自定义导航覆盖 Bootstrap */
    .navbar {
      background: rgba(251, 248, 245, 0.85);
      backdrop-filter: blur(10px);
      box-shadow: none;
      padding: 0.5rem 0;
      transition: box-shadow 0.3s ease, background 0.3s ease;
      height: auto;
      min-height: 56px;
    }

    .navbar.scrolled {
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
      background: rgba(251, 248, 245, 0.95);
    }

    .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary) !important;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      letter-spacing: -0.3px;
    }

    .logo-icon {
      font-size: 1.8rem;
      color: var(--accent);
    }

    .navbar-nav .nav-link {
      color: var(--text) !important;
      font-weight: 500;
      margin: 0 0.75rem;
      padding: 0.5rem 0;
      position: relative;
      transition: color var(--transition);
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
      color: var(--primary) !important;
    }

    .navbar-nav .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--primary);
      border-radius: 2px;
    }

    .search-icon, .login-btn {
      color: var(--text);
      background: transparent;
      border: none;
      font-size: 1.2rem;
      margin-right: 0.8rem;
      cursor: pointer;
      transition: color var(--transition);
    }

    .search-icon:hover, .login-btn:hover {
      color: var(--primary);
    }

    .btn-primary-custom {
      background-color: var(--primary);
      border: none;
      color: white;
      padding: 0.6rem 1.5rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
      box-shadow: 0 4px 10px rgba(58,61,107,0.2);
    }

    .btn-primary-custom:hover {
      background-color: var(--accent);
      color: #1E1E2F;
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(212,155,106,0.35);
    }

    .btn-outline-custom {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 0.6rem 1.5rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: background var(--transition), color var(--transition);
    }

    .btn-outline-custom:hover {
      background: rgba(58,61,107,0.08);
      color: var(--primary);
    }

    /* 搜索框 */
    .search-box {
      position: absolute;
      right: 160px;
      top: 50%;
      transform: translateY(-50%);
      background: white;
      border-radius: 30px;
      padding: 0.2rem 0.8rem;
      box-shadow: var(--shadow-md);
      display: flex;
      align-items: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s, visibility 0.2s;
      z-index: 1021;
    }

    .search-box.active {
      opacity: 1;
      visibility: visible;
    }

    .search-box input {
      border: none;
      outline: none;
      padding: 0.4rem;
      font-size: 0.9rem;
      width: 160px;
      background: transparent;
    }

    /* HERO */
    .hero-section {
      padding: 5rem 0 4rem;
      background-color: var(--bg);
    }

    .hero-title {
      font-size: var(--font-h1);
      font-weight: 700;
      letter-spacing: -0.5px;
      line-height: 1.2;
      color: var(--text);
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-soft);
      max-width: 560px;
      margin: 1.2rem 0 2rem;
    }

    .hero-image-wrapper {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }

    .hero-image-wrapper img {
      border-radius: 16px;
      object-fit: cover;
      width: 100%;
      height: auto;
    }

    .wave-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200" opacity="0.08"><path d="M0 100 Q 50 50, 100 100 T 200 100 T 300 100 T 400 100" fill="none" stroke="%233A3D6B" stroke-width="2"/></svg>') repeat;
      pointer-events: none;
    }

    /* 通用板块标题 */
    .section-title {
      font-size: var(--font-h2);
      font-weight: 650;
      color: var(--text);
      margin-bottom: 0.75rem;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 48px;
      height: 3px;
      background: var(--primary);
      margin-top: 0.5rem;
      border-radius: 2px;
    }

    .text-center .section-title::after {
      margin-left: auto;
      margin-right: auto;
    }

    /* 卡片统一样式 */
    .custom-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 2rem 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
      border: none;
      height: 100%;
    }

    .custom-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
    }

    .icon-circle {
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 1.3rem;
    }

    .card-title {
      font-size: 1.3rem;
      font-weight: 650;
      margin-bottom: 0.8rem;
    }

    /* 成果案例左侧竖线 */
    .result-card {
      border-left: 4px solid var(--primary);
      padding-left: 1.5rem;
    }

    .testimonial-card {
      background: #F3EFEA;
      border-radius: var(--radius-card);
      padding: 2rem;
      font-style: italic;
      position: relative;
    }

    .testimonial-card::before {
      content: "“";
      font-size: 3rem;
      color: var(--accent);
      position: absolute;
      top: 10px;
      left: 15px;
      line-height: 1;
      opacity: 0.6;
    }

    /* FAQ 手风琴自定义 */
    .accordion-item {
      border: none;
      margin-bottom: 1rem;
      background: transparent;
    }

    .accordion-button {
      background: white;
      border-radius: var(--radius-card) !important;
      box-shadow: var(--shadow-sm);
      font-weight: 600;
      padding: 1.2rem 1.8rem;
      color: var(--text);
      transition: 0.3s;
    }

    .accordion-button:not(.collapsed) {
      background-color: white;
      color: var(--primary);
      box-shadow: var(--shadow-md);
    }

    .accordion-button::after {
      transition: transform 0.3s;
    }

    .accordion-body {
      background: #FDFBF9;
      border-radius: 0 0 var(--radius-card) var(--radius-card);
      padding: 1.2rem 1.8rem;
      color: var(--text-soft);
    }

    /* CTA 区域 */
    .cta-section {
      background: linear-gradient(145deg, #E8DED1 0%, #F3EFEA 100%);
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: "";
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(58,61,107,0.08) 0%, transparent 70%);
      top: -50px;
      right: -50px;
      border-radius: 50%;
    }

    .footer {
      background: #F3EFEA;
      padding: 3rem 0 2rem;
    }

    .footer a {
      color: var(--text-soft);
    }

    .footer a:hover {
      color: var(--primary);
    }

    @media (max-width: 992px) {
      :root {
        --font-h1: 2.2rem;
        --font-h2: 1.8rem;
      }
      .navbar-nav {
        margin-top: 1rem;
      }
      .search-box {
        right: 100px;
      }
    }

    @media (max-width: 576px) {
      .hero-title {
        font-size: 1.9rem;
      }
      .navbar-brand {
        font-size: 1.3rem;
      }
    }
