/* roulang page: index */
/* 设计变量 */
    :root {
      --primary: #E5322D;
      --primary-hover: #C72A26;
      --secondary: #1A1A2E;
      --accent: #F5A623;
      --bg-white: #FFFFFF;
      --bg-light: #F8F9FA;
      --bg-dark: #1A1A2E;
      --text-main: #1A1A2E;
      --text-body: #4A4A4A;
      --text-muted: #6B6B6B;
      --text-light: #CCCCCC;
      --border-light: #E8ECF1;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
      --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --spacing-section: 120px;
      --transition-fast: 0.25s ease;
      --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: var(--font-family);
      font-weight: 400;
      line-height: 1.7;
      color: var(--text-body);
      background: var(--bg-white);
      padding-top: 72px;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    button, .button {
      border: none;
      cursor: pointer;
      font-family: var(--font-family);
      border-radius: var(--radius-sm);
      transition: var(--transition-fast);
      font-weight: 600;
      display: inline-block;
      text-align: center;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
    }
    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.2;
      color: var(--text-main);
      margin-bottom: 1rem;
    }
    h2 {
      font-size: 2.2rem;
      margin-bottom: 0.5rem;
    }
    .section-subtitle {
      font-size: 1.1rem;
      color: var(--text-muted);
      font-weight: 400;
      margin-bottom: 2.5rem;
    }
    .section-title-group {
      text-align: center;
      margin-bottom: 3rem;
    }

    /* 导航栏 */
    .site-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 4px rgba(0,0,0,0.06);
      z-index: 100;
      display: flex;
      align-items: center;
      padding: 0 20px;
      justify-content: space-between;
    }
    .logo {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--primary);
      white-space: nowrap;
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links a {
      font-weight: 500;
      color: var(--text-body);
      position: relative;
      padding: 8px 0;
      font-size: 1rem;
      transition: color 0.2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.25s ease;
    }
    .nav-links a:hover {
      color: var(--primary);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .mega-trigger {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
      color: var(--text-body);
      cursor: pointer;
      position: relative;
      padding: 8px 0;
    }
    .mega-panel {
      position: absolute;
      top: 60px;
      right: 0;
      width: 400px;
      background: white;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-md);
      padding: 20px;
      display: flex;
      gap: 24px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity 0.25s ease, transform 0.25s ease;
      z-index: 200;
    }
    .mega-trigger:hover .mega-panel,
    .mega-panel:hover {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .mega-left, .mega-right {
      flex: 1;
    }
    .mega-left .tag-card {
      background: var(--bg-light);
      padding: 12px;
      border-radius: var(--radius-sm);
      margin-bottom: 10px;
      font-weight: 500;
      color: var(--text-main);
      transition: background 0.2s;
    }
    .mega-left .tag-card:hover {
      background: #fde8e8;
      color: var(--primary);
    }
    .mega-right a {
      display: block;
      padding: 6px 0;
      border-bottom: 1px solid var(--border-light);
      color: var(--text-body);
    }
    .mega-right a::before {
      content: "●";
      color: var(--primary);
      margin-right: 8px;
      font-size: 12px;
    }

    /* 汉堡菜单 */
    .menu-toggle {
      display: none;
    }
    #hamburger-check {
      display: none;
    }
    .hamburger-icon {
      display: none;
      font-size: 1.8rem;
      color: var(--text-main);
      cursor: pointer;
    }
    @media (max-width: 768px) {
      .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 1rem;
      }
      #hamburger-check:checked ~ .nav-links {
        display: flex;
      }
      .hamburger-icon {
        display: block;
      }
      .mega-trigger {
        display: none;
      }
    }

    /* Hero */
    #hero {
      display: flex;
      align-items: center;
      min-height: calc(100vh - 72px);
      padding: 2rem 0;
      gap: 3rem;
    }
    .hero-left {
      flex: 1;
      padding-right: 1rem;
    }
    .hero-left h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 1.2rem;
      color: var(--text-main);
    }
    .hero-left .hero-sub {
      font-size: 1.2rem;
      color: var(--text-muted);
      margin-bottom: 2rem;
      line-height: 1.5;
    }
    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 12px 28px;
      font-size: 1rem;
      border-radius: var(--radius-sm);
      transition: var(--transition-fast);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
    }
    .btn-secondary {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 28px;
      font-size: 1rem;
      border-radius: var(--radius-sm);
    }
    .btn-secondary:hover {
      background: var(--primary);
      color: white;
    }
    .hero-right {
      flex: 1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: var(--radius-lg);
      min-height: 420px;
      box-shadow: var(--shadow-sm);
    }
    @media (max-width: 768px) {
      #hero {
        flex-direction: column;
        text-align: center;
      }
      .hero-left h1 {
        font-size: 2.2rem;
      }
      .hero-right {
        width: 100%;
        min-height: 280px;
      }
    }

    /* 亮点网格 */
    #highlights {
      padding: var(--spacing-section) 0;
      background: var(--bg-white);
    }
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }
    .highlight-card {
      text-align: center;
      background: white;
      padding: 2rem 1.5rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
      transition: var(--transition-smooth);
    }
    .highlight-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--primary);
    }
    .highlight-card img {
      width: 64px;
      height: 64px;
      margin: 0 auto 16px;
      object-fit: contain;
    }
    .highlight-card h4 {
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
    }
    @media (max-width: 768px) {
      .highlights-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 案例瀑布流 */
    #cases {
      padding: var(--spacing-section) 0;
      background: var(--bg-light);
    }
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .case-card {
      background: white;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
      transition: var(--transition-smooth);
    }
    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .case-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .case-card:hover .case-img {
      transform: scale(1.03);
    }
    .case-content {
      padding: 20px;
    }
    .case-tag {
      background: rgba(229, 50, 45, 0.1);
      color: var(--primary);
      font-size: 0.8rem;
      padding: 4px 10px;
      border-radius: 4px;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 8px;
    }
    .case-title {
      font-weight: 700;
      margin-bottom: 6px;
      color: var(--text-main);
    }
    @media (max-width: 768px) {
      .cases-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 方案对比 */
    #compare {
      padding: var(--spacing-section) 0;
      background: white;
    }
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .compare-table th {
      background: var(--primary);
      color: white;
      padding: 16px;
      font-weight: 700;
      text-align: center;
    }
    .compare-table td, .compare-table th {
      padding: 16px;
      border-bottom: 1px solid var(--border-light);
    }
    .compare-table tr:nth-child(odd) td {
      background: var(--bg-light);
    }
    .mobile-compare {
      display: none;
    }
    @media (max-width: 768px) {
      .compare-table {
        display: none;
      }
      .mobile-compare {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
      }
      .plan-card {
        background: white;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        padding: 20px;
      }
      .plan-card h4 {
        color: var(--primary);
      }
    }

    /* FAQ */
    #faq {
      padding: var(--spacing-section) 0;
      background: var(--bg-light);
    }
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-top: 1px solid var(--border-light);
      padding: 1rem 0;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      cursor: pointer;
      color: var(--text-main);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-body);
      padding-right: 2rem;
    }
    .faq-toggle {
      display: none;
    }
    .faq-toggle:checked + .faq-question + .faq-answer {
      max-height: 200px;
    }
    .faq-toggle:checked + .faq-question .arrow-icon {
      transform: rotate(90deg);
    }
    .arrow-icon {
      transition: transform 0.3s ease;
      font-size: 1.2rem;
    }

    /* CTA横幅 */
    #contact {
      padding: 80px 0;
      background: var(--bg-dark);
      text-align: center;
      color: white;
    }
    #contact h2 {
      color: white;
    }
    .cta-buttons {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      margin-top: 2rem;
      flex-wrap: wrap;
    }
    .btn-white-outline {
      border: 2px solid white;
      color: white;
      background: transparent;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
    }
    .btn-white-outline:hover {
      background: white;
      color: var(--text-main);
    }

    /* 页脚 */
    .site-footer {
      background: var(--bg-dark);
      color: var(--text-light);
      padding: 3rem 0 1.5rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
    }
    .footer-col h4 {
      color: white;
      margin-bottom: 1rem;
    }
    .footer-col a {
      color: var(--text-light);
      display: block;
      margin-bottom: 0.6rem;
    }
    .copyright {
      text-align: center;
      margin-top: 2rem;
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
