/* roulang page: index */
:root {
      --primary: #0A2540;
      --secondary: #00A896;
      --accent: #FF6B35;
      --bg: #F7F9FC;
      --card-bg: #FFFFFF;
      --border: #E9EDF3;
      --text: #2C3E50;
      --text-secondary: #6B7B8D;
      --white: #FFFFFF;
      --shadow-sm: 0 1px 3px rgba(10,37,64,0.04), 0 4px 12px rgba(10,37,64,0.06);
      --shadow-hover: 0 2px 8px rgba(10,37,64,0.08), 0 8px 24px rgba(10,37,64,0.1);
      --radius-card: 16px;
      --radius-btn: 10px;
      --radius-sm: 8px;
      --transition: 0.3s ease;
      --max-width: 1280px;
      --header-height: 64px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
    }

    /* 导航栏 - SaaS 命令栏风格 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: rgba(247, 249, 252, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      z-index: 100;
      display: flex;
      align-items: center;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 20px;
      color: var(--primary);
      flex-shrink: 0;
    }

    .logo svg {
      width: 32px;
      height: 32px;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .main-nav a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }

    .main-nav a:hover {
      color: var(--secondary);
    }

    .main-nav a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 100%;
      height: 2px;
      background: var(--secondary);
      transition: transform 0.25s ease;
    }

    .main-nav a:hover::after {
      transform: translateX(-50%) scaleX(1);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-box {
      display: flex;
      align-items: center;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 8px 16px;
      gap: 8px;
      color: var(--text-secondary);
      font-size: 14px;
      transition: all 0.2s;
    }

    .search-box i {
      font-size: 14px;
    }

    .search-box input {
      border: none;
      background: transparent;
      outline: none;
      font-size: 14px;
      width: 140px;
      color: var(--text);
    }

    .search-box input::placeholder {
      color: var(--text-secondary);
    }

    .btn-primary {
      background: var(--secondary);
      color: var(--white);
      font-weight: 600;
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      transition: background 0.2s, box-shadow 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-primary:hover {
      background: #008F7A;
      box-shadow: 0 4px 10px rgba(0,168,150,0.3);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      padding: 14px 28px;
      border-radius: var(--radius-btn);
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-outline:hover {
      background: rgba(10,37,64,0.08);
    }

    .btn-large {
      padding: 14px 28px;
      font-size: 16px;
      border-radius: var(--radius-btn);
    }

    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--primary);
    }

    /* Hero */
    .hero {
      padding-top: var(--header-height);
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: var(--bg);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 60px;
      align-items: center;
    }

    .hero-title {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .hero-title span {
      color: var(--secondary);
    }

    .hero-sub {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      line-height: 1.6;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 24px;
      height: 420px;
      box-shadow: var(--shadow-hover);
      position: relative;
      background-color: #d1dbe6;
    }

    /* 板块通用 */
    .section {
      padding: 120px 0;
    }

    .section-title {
      font-size: 36px;
      font-weight: 600;
      line-height: 1.3;
      color: var(--primary);
      margin-bottom: 16px;
      text-align: center;
    }

    .section-desc {
      font-size: 18px;
      color: var(--text-secondary);
      text-align: center;
      max-width: 700px;
      margin: 0 auto 48px;
    }

    /* 亮点网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
      border: 1px solid transparent;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: var(--border);
    }

    .feature-icon {
      font-size: 32px;
      color: var(--secondary);
      margin-bottom: 16px;
    }

    .feature-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .feature-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* 案例瀑布流 */
    .masonry {
      columns: 3;
      column-gap: 24px;
    }

    .case-card {
      break-inside: avoid;
      margin-bottom: 24px;
      background: var(--card-bg);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
      transition: all var(--transition);
    }

    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .case-img {
      width: 100%;
      display: block;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .case-card:hover .case-img {
      transform: scale(1.03);
    }

    .case-content {
      padding: 20px;
    }

    .case-title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 6px;
    }

    .case-location {
      font-size: 12px;
      color: var(--secondary);
      background: rgba(0,168,150,0.08);
      display: inline-block;
      padding: 2px 10px;
      border-radius: 12px;
      margin-bottom: 8px;
    }

    .case-desc {
      font-size: 14px;
      color: var(--text-secondary);
    }

    /* 方案对比 */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: start;
    }

    .pricing-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
      text-align: center;
      transition: all var(--transition);
      position: relative;
    }

    .pricing-card.recommended {
      border: 2px solid var(--secondary);
      background: #F0FDF9;
      transform: scale(1.02);
    }

    .badge {
      background: var(--secondary);
      color: white;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 6px;
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
    }

    .plan-name {
      font-size: 20px;
      font-weight: 600;
      margin: 16px 0 8px;
    }

    .plan-price {
      font-size: 24px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 24px;
    }

    .feature-list {
      list-style: none;
      text-align: left;
      margin-bottom: 24px;
    }

    .feature-list li {
      padding: 8px 0;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--text);
    }

    .feature-list i {
      color: var(--secondary);
    }

    .text-muted i {
      color: #ccc;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
    }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      background: none;
      border: none;
      width: 100%;
      text-align: left;
      color: var(--text);
    }

    .faq-icon {
      width: 32px;
      height: 32px;
      background: var(--secondary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      margin-right: 16px;
    }

    .faq-arrow {
      transition: transform 0.25s;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding-left: 48px;
      color: var(--text-secondary);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 20px;
    }

    .faq-item.active .faq-arrow {
      transform: rotate(180deg);
    }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--primary);
      position: relative;
      padding: 100px 0;
      text-align: center;
      background-image: url('/assets/images/backpic/back-2.webp');
      background-size: cover;
      background-position: center;
      background-blend-mode: overlay;
    }

    .cta-banner::before {
      content: '';
      position: absolute;
      top:0;left:0;right:0;bottom:0;
      background: rgba(10,37,64,0.85);
    }

    .cta-content {
      position: relative;
      z-index: 2;
      color: white;
    }

    .cta-title {
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .cta-desc {
      font-size: 18px;
      opacity: 0.9;
      margin-bottom: 32px;
    }

    .btn-white {
      background: white;
      color: var(--primary);
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
    }

    /* 页脚 */
    .footer {
      background: var(--primary);
      color: rgba(255,255,255,0.8);
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer-logo {
      font-size: 20px;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }

    .footer a {
      color: rgba(255,255,255,0.7);
      font-size: 14px;
      display: block;
      margin-bottom: 8px;
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 40px;
      padding-top: 20px;
      font-size: 14px;
      display: flex;
      justify-content: space-between;
    }

    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .hero-image {
        height: 300px;
        order: -1;
      }
      .features-grid {
        grid-template-columns: repeat(2,1fr);
      }
      .masonry {
        columns: 2;
      }
    }

    @media (max-width: 768px) {
      .main-nav, .header-actions .search-box {
        display: none;
      }
      .mobile-menu-toggle {
        display: block;
      }
      .hero-title {
        font-size: 36px;
      }
      .pricing-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 520px) {
      .features-grid, .masonry {
        grid-template-columns: 1fr;
      }
      .hero-buttons .btn {
        width: 100%;
      }
    }
