/* roulang page: index */
:root {
      --primary: #1A3C34;
      --secondary: #C8944A;
      --accent: #D45D3E;
      --bg-warm: #FBF9F6;
      --bg-section: #F0EDE8;
      --text-dark: #1A1A1A;
      --text-body: #3D3D3D;
      --text-muted: #6B6B6B;
      --light-text: #FBF9F6;
      --border-light: rgba(26,60,52,0.08);
      --shadow-card: 0 2px 12px rgba(26,60,52,0.06);
      --shadow-hover: 0 8px 28px rgba(26,60,52,0.12);
      --radius-card: 12px;
      --radius-btn: 8px;
      --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
    }
    * {
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-warm);
      color: var(--text-body);
      line-height: 1.7;
      margin: 0;
      overflow-x: hidden;
    }
    h1, h2, h3, h4 {
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-dark);
    }
    h1 {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.2;
    }
    h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 0.75rem;
      position: relative;
      display: inline-block;
    }
    h2::after {
      content: '';
      display: block;
      width: 40px;
      height: 4px;
      background: var(--secondary);
      margin-top: 8px;
      border-radius: 2px;
    }
    h3 {
      font-size: 22px;
      font-weight: 600;
    }
    .section-title {
      margin-bottom: 2.5rem;
    }
    p {
      font-size: 16px;
      color: var(--text-body);
    }
    .container-custom {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }
    /* 导航 */
    .navbar {
      background: transparent;
      transition: background 0.3s ease, backdrop-filter 0.3s;
      padding: 16px 0;
      z-index: 1000;
    }
    .navbar.scrolled {
      background: rgba(26,60,52,0.95);
      backdrop-filter: blur(8px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.6rem;
      color: var(--primary) !important;
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color 0.3s;
    }
    .navbar.scrolled .navbar-brand {
      color: var(--light-text) !important;
    }
    .logo-icon {
      display: inline-block;
      width: 28px;
      height: 28px;
      background: var(--secondary);
      clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
      margin-right: 4px;
    }
    .navbar-nav .nav-link {
      color: var(--text-body) !important;
      font-weight: 500;
      margin: 0 8px;
      padding: 6px 12px !important;
      transition: 0.2s;
      border-bottom: 2px solid transparent;
      font-size: 15px;
    }
    .navbar.scrolled .nav-link {
      color: var(--light-text) !important;
    }
    .nav-link.active, .nav-link:hover {
      border-bottom-color: var(--secondary);
      color: var(--primary) !important;
    }
    .navbar.scrolled .nav-link.active, .navbar.scrolled .nav-link:hover {
      color: var(--secondary) !important;
    }
    .btn-nav-cta {
      background: var(--accent);
      color: white !important;
      border-radius: var(--radius-btn);
      padding: 10px 24px !important;
      font-weight: 600;
      border: none;
      transition: 0.25s;
      margin-left: 16px;
      font-size: 14px;
    }
    .navbar.scrolled .btn-nav-cta {
      background: var(--secondary);
    }
    .btn-nav-cta:hover {
      background: #B84A32;
      transform: translateY(-1px);
    }
    /* 汉堡菜单 */
    .navbar-toggler {
      border: none;
      color: var(--primary);
    }
    .navbar.scrolled .navbar-toggler {
      color: white;
    }
    @media (max-width: 991px) {
      .navbar-collapse {
        background: white;
        border-radius: 16px;
        padding: 20px;
        margin-top: 12px;
        box-shadow: var(--shadow-hover);
      }
      .navbar.scrolled .navbar-collapse {
        background: rgba(26,60,52,0.98);
      }
      .navbar-nav .nav-link {
        color: var(--text-dark) !important;
      }
      .navbar.scrolled .nav-link {
        color: white !important;
      }
    }
    /* Hero */
    #hero {
      min-height: 88vh;
      display: flex;
      align-items: center;
      background: var(--bg-warm);
      position: relative;
      overflow: hidden;
      padding: 80px 0 60px;
    }
    .hero-left {
      max-width: 580px;
    }
    .hero-left h1 {
      margin-bottom: 1.2rem;
    }
    .hero-sub {
      font-size: 18px;
      color: var(--text-muted);
      margin-bottom: 2rem;
      max-width: 480px;
    }
    .hero-stats {
      display: flex;
      gap: 2.5rem;
      margin-bottom: 2rem;
      font-family: var(--font-mono);
    }
    .stat-number {
      font-size: 2.6rem;
      font-weight: 700;
      color: var(--secondary);
      line-height: 1.1;
    }
    .stat-label {
      font-size: 14px;
      color: var(--text-muted);
      font-family: var(--font-sans);
    }
    .btn-primary-custom {
      background: var(--accent);
      border: none;
      padding: 12px 32px;
      font-weight: 600;
      border-radius: var(--radius-btn);
      color: white;
      transition: 0.25s;
      display: inline-block;
      text-decoration: none;
    }
    .btn-primary-custom:hover {
      background: #B84A32;
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
      color: white;
    }
    .btn-outline-custom {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 32px;
      font-weight: 600;
      border-radius: var(--radius-btn);
      transition: 0.25s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-outline-custom:hover {
      background: var(--primary);
      color: white;
    }
    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
      height: 480px;
      width: 100%;
      border-radius: 16px;
      box-shadow: var(--shadow-hover);
    }
    @media (max-width: 768px) {
      h1 { font-size: 36px; }
      .hero-image { height: 300px; clip-path: none; border-radius: 24px; }
    }
    /* 优势 */
    #advantages {
      background: var(--bg-section);
      padding: 100px 0;
      clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    }
    .advantage-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 32px 28px;
      box-shadow: var(--shadow-card);
      border-bottom: 4px solid var(--primary);
      transition: 0.3s;
      height: 100%;
    }
    .advantage-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .adv-icon {
      width: 56px;
      height: 56px;
      background: #F0EDE8;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary);
      font-size: 26px;
    }
    /* 案例瀑布流 */
    .case-card {
      border-radius: var(--radius-card);
      overflow: hidden;
      background: white;
      box-shadow: var(--shadow-card);
      transition: 0.3s;
      margin-bottom: 24px;
      break-inside: avoid;
    }
    .case-card:hover {
      transform: scale(1.02);
      box-shadow: var(--shadow-hover);
    }
    .case-img {
      height: 200px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .case-tag {
      background: var(--secondary);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
    }
    .masonry-grid {
      column-count: 3;
      column-gap: 24px;
    }
    @media (max-width: 992px) { .masonry-grid { column-count: 2; } }
    @media (max-width: 576px) { .masonry-grid { column-count: 1; } }
    /* 对比表 */
    .compare-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-card);
    }
    .compare-highlight {
      background: var(--primary);
      color: white;
      border-radius: var(--radius-card);
    }
    .fa-check { color: var(--primary); }
    .compare-highlight .fa-check { color: var(--secondary); }
    /* FAQ */
    .accordion-button {
      font-weight: 600;
      font-size: 17px;
      background: white;
      box-shadow: none;
      border-radius: var(--radius-card) !important;
      padding: 20px 24px;
    }
    .accordion-item {
      border: none;
      margin-bottom: 12px;
      background: transparent;
    }
    .accordion-button:not(.collapsed) {
      background: #F0EDE8;
      color: var(--primary);
    }
    /* CTA */
    #contact {
      background: var(--primary);
      padding: 80px 0;
      position: relative;
    }
    .ghost-btn {
      border: 2px solid white;
      color: white;
      padding: 12px 30px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.3s;
      text-decoration: none;
    }
    .ghost-btn:hover {
      background: white;
      color: var(--primary);
    }
    footer {
      background: #1A3C34;
      color: #FBF9F6;
      padding: 60px 0 0;
    }
    footer a {
      color: #C8944A;
      text-decoration: none;
    }
    .copyright {
      border-top: 1px solid rgba(251,249,246,0.15);
      padding: 20px 0;
      margin-top: 40px;
    }
    @media (max-width: 576px) {
      .btn-lg { width: 100%; margin-bottom: 12px; }
    }
    input.form-control {
      border: 1px solid #D9D5CF;
      border-radius: 6px;
      height: 48px;
    }
