/* roulang page: index */
:root {
      --primary-deep: #1A1F36;
      --accent-gold: #D4AF37;
      --signal-green: #00C9A7;
      --bg-soft: #F5F6FA;
      --text-primary: #1A1F36;
      --text-body: #4A4F63;
      --text-muted: #6F7482;
      --card-shadow: 0 4px 20px rgba(0,0,0,0.04);
      --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
      --border-light: #E8EAEF;
      --white: #ffffff;
      --btn-radius: 8px;
      --card-radius: 12px;
      --input-radius: 6px;
      --badge-radius: 20px;
      --transition-standard: 0.25s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', system-ui, -apple-system, sans-serif;
      background-color: var(--bg-soft);
      color: var(--text-body);
      line-height: 1.7;
      font-size: 16px;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4, h5, h6 {
      color: var(--text-primary);
      font-weight: 600;
      line-height: 1.3;
    }

    h1 { font-size: clamp(2.2rem, 5vw, 2.8rem); font-weight: 700; }
    h2 { font-size: clamp(1.8rem, 4vw, 2rem); font-weight: 600; }
    h3 { font-size: clamp(1.2rem, 3vw, 1.4rem); font-weight: 500; }
    h4 { font-size: 1.1rem; font-weight: 500; }

    a {
      color: var(--accent-gold);
      text-decoration: none;
      transition: var(--transition-standard);
    }

    a:hover {
      color: #b8962f;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container-custom {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 按钮覆盖 Bootstrap */
    .btn-primary-custom {
      background-color: var(--accent-gold);
      border: none;
      color: #1A1F36;
      font-weight: 600;
      padding: 10px 24px;
      border-radius: var(--btn-radius);
      transition: var(--transition-standard);
      box-shadow: 0 4px 10px rgba(212,175,55,0.2);
      letter-spacing: 0.3px;
    }

    .btn-primary-custom:hover {
      background-color: #b8962f;
      box-shadow: 0 0 12px rgba(212,175,55,0.5);
      color: #1A1F36;
      transform: translateY(-1px);
    }

    .btn-outline-gold {
      border: 1px solid var(--accent-gold);
      color: var(--accent-gold);
      background: transparent;
      padding: 9px 22px;
      border-radius: var(--btn-radius);
      font-weight: 500;
      transition: var(--transition-standard);
    }

    .btn-outline-gold:hover {
      background-color: rgba(212,175,55,0.1);
      border-color: #b8962f;
      color: #b8962f;
    }

    .btn-signal {
      background-color: var(--signal-green);
      border: none;
      color: #fff;
      font-weight: 600;
      padding: 10px 24px;
      border-radius: var(--btn-radius);
      transition: var(--transition-standard);
    }

    .btn-signal:hover {
      background-color: #00a88b;
      color: white;
      box-shadow: 0 0 10px rgba(0,201,167,0.4);
    }

    /* 导航 */
    .navbar-custom {
      background-color: white;
      box-shadow: 0 1px 4px rgba(0,0,0,0.04);
      padding: 12px 0;
      position: sticky;
      top: 0;
      z-index: 1020;
    }

    .logo-text {
      font-weight: 700;
      font-size: 22px;
      color: var(--primary-deep);
      letter-spacing: 1px;
    }

    .logo-icon {
      color: var(--accent-gold);
      font-size: 18px;
      margin-right: 6px;
    }

    .nav-link-custom {
      color: var(--text-body) !important;
      font-weight: 500;
      margin: 0 10px;
      transition: var(--transition-standard);
      border-bottom: 2px solid transparent;
    }

    .nav-link-custom:hover, .nav-link-custom.active {
      color: var(--accent-gold) !important;
      border-bottom-color: var(--accent-gold);
    }

    .search-icon {
      color: var(--text-muted);
      font-size: 18px;
      cursor: pointer;
      margin-right: 15px;
    }

    /* 板块通用 */
    .section-padding {
      padding: 90px 0;
    }

    .section-title {
      margin-bottom: 16px;
      color: var(--primary-deep);
    }

    .section-subtitle {
      color: var(--text-muted);
      font-size: 1.1rem;
      margin-bottom: 48px;
    }

    .card-custom {
      background: white;
      border-radius: var(--card-radius);
      box-shadow: var(--card-shadow);
      padding: 28px 24px;
      transition: var(--transition-standard);
      border: none;
      height: 100%;
    }

    .card-custom:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-4px);
    }

    /* Hero */
    .hero-image {
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    /* 案例瀑布流 */
    .masonry-grid {
      column-count: 3;
      column-gap: 24px;
      margin-bottom: 30px;
    }

    .masonry-item {
      break-inside: avoid;
      margin-bottom: 24px;
      background: white;
      border-radius: var(--card-radius);
      box-shadow: var(--card-shadow);
      transition: var(--transition-standard);
      overflow: hidden;
    }

    .masonry-item:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-2px);
    }

    .masonry-item img {
      transition: transform 0.4s ease;
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .masonry-item:hover img {
      transform: scale(1.02);
    }

    .masonry-content {
      padding: 20px;
    }

    .badge-custom {
      background-color: rgba(0,201,167,0.15);
      color: #00856a;
      font-weight: 500;
      padding: 4px 10px;
      border-radius: var(--badge-radius);
      font-size: 0.8rem;
      display: inline-block;
      margin-top: 8px;
    }

    /* 对比表 */
    .compare-card {
      background: white;
      border-radius: var(--card-radius);
      padding: 28px;
      box-shadow: var(--card-shadow);
      height: 100%;
      border: 1px solid var(--border-light);
    }

    .compare-card.recommended {
      border: 2px solid var(--accent-gold);
      box-shadow: 0 0 20px rgba(212,175,55,0.15);
    }

    .compare-header {
      background-color: rgba(212,175,55,0.08);
      padding: 14px 20px;
      border-radius: 8px;
      font-weight: 600;
      color: var(--primary-deep);
      margin-bottom: 24px;
    }

    .compare-item {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-light);
    }

    .fa-check-circle {
      color: var(--signal-green);
      margin-left: 6px;
    }

    /* 流程步骤 */
    .step-circle {
      width: 48px;
      height: 48px;
      background-color: var(--signal-green);
      color: white;
      font-weight: 700;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      margin: 0 auto 16px;
    }

    .step-connector {
      border-left: 2px dashed rgba(212,175,55,0.25);
      height: 40px;
      margin: 0 auto;
      width: 0;
    }

    /* FAQ 手风琴定制 */
    .accordion-button:not(.collapsed) {
      background-color: transparent;
      color: var(--accent-gold);
      box-shadow: none;
      font-weight: 500;
    }

    .accordion-button:focus {
      border-color: var(--accent-gold);
      box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.2);
    }

    .accordion-item {
      border: none;
      border-bottom: 1px solid var(--border-light);
      background: transparent;
    }

    /* CTA 深色区 */
    .cta-section {
      background-color: var(--primary-deep);
      color: white;
      border-radius: 0;
    }

    /* 页脚 */
    .footer-custom {
      background-color: var(--primary-deep);
      color: #A8ADBD;
    }

    .footer-link {
      color: #A8ADBD;
      text-decoration: none;
      transition: var(--transition-standard);
    }

    .footer-link:hover {
      color: var(--accent-gold);
    }

    @media (max-width: 991px) {
      .masonry-grid {
        column-count: 2;
      }
      .section-padding {
        padding: 70px 0;
      }
    }

    @media (max-width: 767px) {
      .masonry-grid {
        column-count: 1;
      }
      .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        margin-top: 10px;
      }
      .compare-card {
        margin-bottom: 20px;
      }
    }
