/* roulang page: index */
:root {
      --burgundy: #7A1C3A;
      --burgundy-dark: #5E152C;
      --warm-gold: #C4A46C;
      --ivory: #FDFBF7;
      --white: #FFFFFF;
      --charcoal: #1E1E1E;
      --text-dark: #2C2C2C;
      --text-mid: #5A5A5A;
      --border-light: rgba(0,0,0,0.04);
      --shadow-card: 0 4px 12px rgba(0,0,0,0.04);
      --shadow-card-hover: 0 12px 24px rgba(0,0,0,0.08);
      --shadow-nav: 0 2px 10px rgba(0,0,0,0.06);
      --radius-card: 12px;
      --radius-btn: 50px;
      --font-serif: 'Noto Serif SC', 'Times New Roman', serif;
      --font-sans: 'Inter', 'PingFang SC', 'Helvetica Neue', sans-serif;
      --transition-base: all 0.25s ease;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--ivory);
      color: var(--text-dark);
      margin: 0;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4, h5, h6 {
      font-weight: 600;
      margin-bottom: 0.75rem;
      color: var(--text-dark);
    }

    h1, h2 {
      font-family: var(--font-serif);
      font-weight: 700;
      letter-spacing: -0.5px;
    }

    a {
      text-decoration: none;
      transition: var(--transition-base);
      color: var(--burgundy);
    }
    a:hover {
      color: var(--burgundy-dark);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container-custom {
      max-width: 1200px;
      margin: 0 auto;
      padding-left: 20px;
      padding-right: 20px;
    }

    /* 导航栏 */
    .navbar-custom {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background-color: rgba(253, 251, 247, 0.85);
      backdrop-filter: blur(12px);
      transition: background-color 0.3s, box-shadow 0.3s;
      padding: 12px 0;
    }
    .navbar-custom.scrolled {
      background-color: var(--ivory);
      box-shadow: var(--shadow-nav);
    }
    .navbar-brand {
      font-family: var(--font-serif);
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--burgundy) !important;
      letter-spacing: 1px;
    }
    .nav-link {
      color: var(--text-dark) !important;
      font-weight: 500;
      margin: 0 0.75rem;
      position: relative;
      padding: 0.5rem 0;
      font-size: 1rem;
    }
    .nav-link.active {
      color: var(--burgundy) !important;
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--warm-gold);
    }
    .btn-primary-custom {
      background-color: var(--burgundy);
      border: none;
      color: var(--ivory);
      border-radius: var(--radius-btn);
      padding: 10px 28px;
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: var(--transition-base);
      box-shadow: 0 4px 8px rgba(122,28,58,0.2);
    }
    .btn-primary-custom:hover {
      background-color: var(--burgundy-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 16px rgba(122,28,58,0.3);
      color: white;
    }
    .btn-outline-custom {
      background: transparent;
      border: 2px solid var(--burgundy);
      color: var(--burgundy);
      border-radius: var(--radius-btn);
      padding: 10px 28px;
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: var(--transition-base);
    }
    .btn-outline-custom:hover {
      background-color: var(--burgundy);
      color: var(--ivory);
      transform: translateY(-2px);
    }
    .badge-custom {
      background-color: var(--warm-gold);
      color: var(--charcoal);
      font-weight: 600;
      font-size: 0.75rem;
      padding: 4px 12px;
      border-radius: 30px;
      margin-left: 8px;
      letter-spacing: 0.3px;
      animation: pulse-badge 2s infinite;
    }
    @keyframes pulse-badge {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.85; transform: scale(1.03); }
      100% { opacity: 1; transform: scale(1); }
    }

    /* 汉堡菜单调整 */
    .navbar-toggler {
      border: none;
      color: var(--burgundy);
      font-size: 1.5rem;
    }
    .navbar-toggler:focus {
      box-shadow: none;
    }

    /* 首屏Hero */
    .hero-section {
      background: linear-gradient(rgba(30,30,30,0.65), rgba(30,30,30,0.5)), url('/assets/images/backpic/back-1.webp') center center/cover no-repeat;
      min-height: 90vh;
      display: flex;
      align-items: center;
      color: white;
      padding: 120px 0 80px;
      position: relative;
    }
    .hero-title {
      font-size: 3.2rem;
      font-weight: 700;
      font-family: var(--font-serif);
      color: var(--ivory);
      line-height: 1.3;
    }
    .hero-sub {
      font-size: 1.25rem;
      color: rgba(253,251,247,0.9);
      margin: 1.5rem 0 2rem;
      max-width: 600px;
    }

    /* 区块通用 */
    section {
      padding: 90px 0;
    }
    .section-title {
      font-size: 2.4rem;
      margin-bottom: 1rem;
      color: var(--text-dark);
    }
    .section-subtitle {
      color: var(--text-mid);
      font-size: 1.1rem;
      margin-bottom: 3rem;
    }

    /* 连接卡片 */
    .connection-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-card);
      transition: var(--transition-base);
      border-top: 3px solid var(--warm-gold);
      height: 100%;
    }
    .connection-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-card-hover);
      border-top-width: 6px;
    }
    .connection-icon {
      font-size: 2.5rem;
      color: var(--burgundy);
      margin-bottom: 1.2rem;
    }

    /* 优势深色区 */
    .advantage-dark {
      background: linear-gradient(135deg, #7A1C3A 0%, #1E1E1E 100%);
      color: white;
      border-radius: 0;
    }
    .advantage-number {
      font-size: 3.2rem;
      font-weight: 700;
      color: var(--warm-gold);
      line-height: 1.1;
    }
    .advantage-label {
      color: var(--ivory);
      font-size: 1rem;
    }

    /* 案例卡片 */
    .case-card {
      border-radius: var(--radius-card);
      overflow: hidden;
      background: white;
      box-shadow: var(--shadow-card);
      transition: var(--transition-base);
      position: relative;
    }
    .case-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-card-hover);
    }
    .case-img-wrapper {
      position: relative;
      overflow: hidden;
      height: 240px;
    }
    .case-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .case-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(122,28,58,0.35);
      transition: background 0.3s;
    }
    .case-card:hover .case-overlay {
      background: rgba(122,28,58,0.1);
    }
    .case-tag {
      background: var(--warm-gold);
      color: var(--charcoal);
      font-weight: 600;
      padding: 4px 14px;
      border-radius: 20px;
      font-size: 0.8rem;
      display: inline-block;
      margin-bottom: 8px;
    }

    /* 流程步骤 */
    .step-line {
      border-left: 2px dashed var(--warm-gold);
      height: 40px;
      margin: 0 auto;
      width: 0;
    }
    .step-icon {
      font-size: 2rem;
      color: var(--burgundy);
    }

    /* FAQ手风琴 */
    .accordion-button {
      font-weight: 600;
      background-color: transparent;
      box-shadow: none;
      border-left: 4px solid var(--burgundy);
      border-radius: 0 !important;
      padding: 1rem 1.5rem;
      color: var(--text-dark);
    }
    .accordion-button:not(.collapsed) {
      background-color: #f9f6f0;
      color: var(--burgundy);
    }
    .accordion-item {
      border: none;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    /* 表单 */
    .form-control-underline {
      border: none;
      border-bottom: 2px solid #ddd;
      border-radius: 0;
      padding: 12px 0;
      background: transparent;
      transition: border-color 0.2s;
    }
    .form-control-underline:focus {
      border-color: var(--burgundy);
      box-shadow: none;
      outline: none;
    }
    .btn-submit {
      background: var(--charcoal);
      color: white;
      border: none;
      border-radius: 40px;
      padding: 12px 36px;
      font-weight: 600;
      transition: var(--transition-base);
    }
    .btn-submit:hover {
      background: var(--burgundy);
    }

    footer {
      background: var(--charcoal);
      color: var(--ivory);
      padding: 50px 0 25px;
      font-size: 0.95rem;
    }
    .footer-brand {
      font-family: var(--font-serif);
      font-size: 1.8rem;
      color: white;
    }

    @media (max-width: 768px) {
      .hero-title {
        font-size: 2.2rem;
      }
      .section-title {
        font-size: 1.9rem;
      }
      .navbar-nav {
        background: rgba(253,251,247,0.98);
        padding: 1rem;
        border-radius: 12px;
      }
      .connection-card, .case-card {
        margin-bottom: 1.5rem;
      }
    }
