/* roulang page: index */
:root {
      --primary: #C41E3A;
      --primary-dark: #A01830;
      --primary-light: rgba(196, 30, 58, 0.08);
      --carbon: #1A1A1A;
      --warm-milk: #F5F0EB;
      --matte-gold: #D4AF37;
      --deep-gold: #B8860B;
      --success: #2D6A4F;
      --white: #FFFFFF;
      --light-gray: #FAFAFA;
      --mid-gray: #CCCCCC;
      --text-body: #1A1A1A;
      --text-muted: #555555;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 6px;
      --shadow-card: 0 4px 24px rgba(0,0,0,0.04);
      --shadow-hover: 0 12px 32px rgba(196,30,58,0.08);
      --font-sans: 'Noto Sans SC', sans-serif;
      --font-en: 'Inter', sans-serif;
      --max-width: 1280px;
      --header-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--warm-milk);
      color: var(--text-body);
      line-height: 1.8;
      font-weight: 400;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.3s ease;
    }

    img {
      max-width: 100%;
      display: block;
      height: auto;
    }

    button, .btn {
      cursor: pointer;
      border: none;
      background: none;
      font-family: inherit;
      transition: all 0.3s ease;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航栏 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      z-index: 1000;
      background: transparent;
      transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
      display: flex;
      align-items: center;
    }

    .site-header.scrolled {
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      font-size: 24px;
      font-weight: 700;
      color: var(--carbon);
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: 0.5px;
    }

    .logo .dot {
      width: 10px;
      height: 10px;
      background-color: var(--primary);
      border-radius: 50%;
      display: inline-block;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      font-weight: 400;
      font-size: 15px;
      color: var(--carbon);
    }

    .nav-links a {
      position: relative;
      padding: 4px 0;
    }

    .nav-links a.active::after,
    .nav-links a:hover::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--primary);
      transition: width 0.3s ease;
    }

    .nav-cta {
      background-color: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      transition: background 0.3s ease, transform 0.3s ease;
    }

    .nav-cta:hover {
      background-color: var(--primary-dark);
      transform: translateY(-1px);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--carbon);
      transition: 0.3s;
    }

    @media (max-width: 1024px) {
      .nav-links {
        gap: 20px;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 28px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        transition: right 0.4s ease;
        align-items: flex-start;
      }
      .nav-links.active {
        right: 0;
      }
      .hamburger {
        display: flex;
        z-index: 1001;
      }
      .nav-cta {
        padding: 12px 28px;
      }
    }

    /* Hero */
    .hero {
      padding: calc(var(--header-height) + 60px) 0 80px;
      display: flex;
      align-items: center;
      background: radial-gradient(circle at 80% 20%, rgba(196,30,58,0.05) 0%, transparent 50%);
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .hero-text h1 {
      font-size: 42px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 20px;
      color: var(--carbon);
    }

    .hero-text p {
      font-size: 18px;
      color: var(--text-muted);
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(196,30,58,0.2);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(196,30,58,0.3);
    }

    .btn-outline {
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
    }

    .btn-outline:hover {
      background: var(--primary-light);
    }

    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 420px;
      border-radius: 24px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.08);
      position: relative;
      animation: fadeInRight 0.8s ease;
    }

    .hero-image::after {
      content: '';
      position: absolute;
      top: 20px;
      right: -15px;
      width: 100px;
      height: 100px;
      background: rgba(212,175,55,0.2);
      border-radius: 50%;
      z-index: -1;
    }

    @keyframes fadeInRight {
      from { opacity: 0; transform: translateX(30px); }
      to { opacity: 1; transform: translateX(0); }
    }

    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .hero-text h1 {
        font-size: 32px;
      }
      .hero-image {
        min-height: 300px;
      }
    }

    /* 通用版块 */
    section {
      padding: 100px 0;
    }

    .section-title {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--carbon);
    }

    .section-sub {
      color: var(--text-muted);
      margin-bottom: 48px;
    }

    /* 亮点网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 40px 32px;
    }

    .feature-item {
      text-align: center;
    }

    .feature-icon {
      font-size: 40px;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .feature-item h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    @media (max-width: 768px) {
      .features-grid {
        grid-template-columns: 1fr;
      }
      section {
        padding: 70px 0;
      }
      .section-title {
        font-size: 26px;
      }
    }

    /* 案例瀑布 */
    .masonry {
      columns: 3;
      column-gap: 24px;
    }

    .case-card {
      break-inside: avoid;
      margin-bottom: 24px;
      background: white;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .case-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .case-img {
      height: 220px;
      background-size: cover;
      background-position: center;
    }

    .case-info {
      padding: 20px;
    }

    .case-tag {
      font-size: 13px;
      color: var(--deep-gold);
      font-weight: 600;
      margin-bottom: 8px;
    }

    .case-info h3 {
      font-size: 20px;
      margin-bottom: 6px;
    }

    @media (max-width: 1024px) {
      .masonry {
        columns: 2;
      }
    }

    @media (max-width: 640px) {
      .masonry {
        columns: 1;
      }
    }

    /* 方案对比 */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .plan {
      background: white;
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      text-align: center;
      border: 1px solid transparent;
      transition: all 0.3s;
    }

    .plan.recommended {
      background: #FDF8F6;
      border-color: var(--primary);
      position: relative;
    }

    .badge {
      background: var(--matte-gold);
      color: white;
      font-size: 12px;
      padding: 4px 12px;
      border-radius: 20px;
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      font-weight: 600;
    }

    .plan h3 {
      font-size: 22px;
      margin: 16px 0;
    }

    .price {
      font-size: 36px;
      font-weight: 700;
      color: var(--primary);
    }

    .features-list {
      list-style: none;
      margin: 24px 0;
    }

    .features-list li {
      padding: 8px 0;
      color: var(--text-muted);
    }

    @media (max-width: 768px) {
      .pricing-grid {
        grid-template-columns: 1fr;
      }
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .faq-item {
      background: white;
      border-radius: var(--radius-card);
      padding: 20px 24px;
      box-shadow: var(--shadow-card);
    }

    .faq-question {
      font-weight: 600;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }

    @media (max-width: 640px) {
      .faq-grid {
        grid-template-columns: 1fr;
      }
    }

    /* CTA 横幅 */
    .cta-band {
      background: linear-gradient(135deg, #C41E3A 0%, #8B1A2B 100%);
      padding: 80px 0;
      text-align: center;
      color: white;
    }

    .cta-band h2 {
      font-size: 36px;
      margin-bottom: 16px;
    }

    .btn-white {
      border: 1.5px solid white;
      color: white;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      display: inline-block;
      margin-top: 24px;
    }

    .btn-white:hover {
      background: rgba(255,255,255,0.15);
    }

    /* 页脚 */
    .footer {
      background: var(--carbon);
      color: var(--mid-gray);
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer a:hover {
      color: var(--primary);
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
