/* roulang page: index */
:root {
      --primary: #1A3C34;
      --accent: #D4A574;
      --bg: #FBF7F2;
      --emphasis: #C44F3C;
      --text: #1E1E1E;
      --text-secondary: #5C5C5C;
      --card-bg: #FFFFFF;
      --border-light: #E8DDD4;
      --shadow: 0 2px 12px rgba(26, 60, 52, 0.06);
      --shadow-hover: 0 8px 24px rgba(26, 60, 52, 0.12);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 8px;
      --font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --transition: 0.2s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.8;
      font-size: 16px;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input {
      font-family: inherit;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    /* 导航栏 */
    .main-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(251, 247, 242, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(232, 221, 212, 0.6);
      transition: box-shadow 0.2s;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      gap: 20px;
      flex-wrap: wrap;
    }

    .logo {
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--primary);
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 18px;
      font-weight: bold;
    }

    .search-box {
      flex: 1;
      min-width: 240px;
      max-width: 40%;
      position: relative;
    }

    .search-box input {
      width: 100%;
      padding: 12px 20px 12px 48px;
      border: 1px solid var(--accent);
      border-radius: 24px;
      background: white;
      font-size: 14px;
      color: var(--text);
      outline: none;
      transition: border 0.2s;
    }

    .search-box input:focus {
      border-color: var(--primary);
    }

    .search-icon {
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      color: #9E9E9E;
      font-size: 18px;
      pointer-events: none;
    }

    .nav-links {
      display: flex;
      gap: 28px;
      align-items: center;
      font-weight: 500;
      color: var(--text-secondary);
    }

    .nav-links a {
      font-size: 0.95rem;
      transition: color 0.2s;
      white-space: nowrap;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .mobile-nav-trigger {
      display: none;
    }

    /* Hero */
    .hero {
      padding: 80px 0;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 55% 45%;
      gap: 48px;
      align-items: center;
    }

    .hero-text h1 {
      font-size: 42px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .hero-text .subtitle {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      line-height: 1.6;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-block;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.2s ease;
      cursor: pointer;
      text-align: center;
      border: 2px solid transparent;
    }

    .btn-primary {
      background: var(--emphasis);
      color: white;
      border-color: var(--emphasis);
    }

    .btn-primary:hover {
      background: #b34335;
      border-color: #b34335;
      transform: scale(1.02);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }

    .btn-outline:hover {
      background: rgba(26, 60, 52, 0.05);
      transform: scale(1.02);
    }

    .hero-image img {
      border-radius: 16px;
      box-shadow: var(--shadow);
      width: 100%;
      height: auto;
    }

    /* 板块通用 */
    .section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.35;
      color: var(--primary);
      margin-bottom: 16px;
      text-align: center;
    }

    .section-subtitle {
      color: var(--text-secondary);
      margin-bottom: 48px;
      text-align: center;
      font-size: 16px;
    }

    /* 亮点网格 三列不对称 */
    .highlights-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr 0.8fr;
      gap: 32px;
      margin-top: 32px;
    }

    .highlight-card {
      background: transparent;
      padding: 24px;
      border-bottom: 2px solid var(--accent);
      display: flex;
      flex-direction: column;
    }

    .highlight-icon {
      font-size: 32px;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .highlight-card h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .highlight-card p {
      color: var(--text-secondary);
      font-size: 15px;
      margin-bottom: 16px;
    }

    .text-link {
      color: var(--primary);
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border-bottom: 1px solid transparent;
      transition: border 0.2s;
      cursor: pointer;
    }

    .text-link:hover {
      border-bottom: 1px solid var(--primary);
    }

    /* 案例瀑布流 */
    .masonry {
      column-count: 3;
      column-gap: 24px;
      margin-top: 24px;
    }

    .case-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow);
      margin-bottom: 24px;
      break-inside: avoid;
      transition: all 0.25s;
    }

    .case-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
    }

    .case-card img {
      width: 100%;
      display: block;
      transition: transform 0.25s;
    }

    .case-card:hover img {
      transform: scale(1.03);
    }

    .case-content {
      padding: 20px;
    }

    .case-content h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .case-desc {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 12px;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      background: rgba(26, 60, 52, 0.08);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 500;
    }

    .case-bottom-cta {
      text-align: center;
      margin-top: 40px;
    }

    /* 方案对比 */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 32px;
    }

    .plan-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow);
      transition: all 0.2s;
    }

    .plan-card.featured {
      border: 2px solid var(--accent);
      background: #FFFBF5;
      box-shadow: var(--shadow-hover);
    }

    .plan-name {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .plan-price {
      font-size: 36px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .plan-features {
      list-style: none;
      margin-bottom: 32px;
      flex: 1;
    }

    .plan-features li {
      padding: 8px 0;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15px;
      color: var(--text);
    }

    .plan-features li::before {
      content: "✓";
      color: var(--primary);
      font-weight: bold;
    }

    .plan-btn {
      margin-top: auto;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    details.faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 20px 0;
    }

    details summary {
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
      color: var(--text);
    }

    details summary::-webkit-details-marker {
      display: none;
    }

    .faq-icon {
      font-size: 24px;
      transition: transform 0.2s;
      color: var(--primary);
    }

    details[open] .faq-icon {
      transform: rotate(45deg);
    }

    .faq-answer {
      padding-top: 12px;
      color: var(--text-secondary);
      font-size: 16px;
    }

    /* CTA */
    .cta-section {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 80px 0;
    }

    .cta-section h2 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .cta-sub {
      margin-bottom: 32px;
      opacity: 0.9;
    }

    .cta-form {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      max-width: 500px;
      margin: 0 auto;
    }

    .cta-form input {
      flex: 1;
      padding: 14px 20px;
      border-radius: var(--radius-input);
      border: none;
      background: white;
      font-size: 16px;
      outline: none;
    }

    .cta-form .btn-primary {
      white-space: nowrap;
    }

    /* 页脚 */
    .footer {
      background: #2C2C2C;
      color: #B0B0B0;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-logo {
      font-size: 1.8rem;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }

    .footer-desc {
      font-size: 14px;
      line-height: 1.6;
    }

    .footer h4 {
      color: white;
      margin-bottom: 16px;
      font-weight: 600;
    }

    .footer ul {
      list-style: none;
    }

    .footer li {
      margin-bottom: 10px;
    }

    .footer a {
      color: #B0B0B0;
      transition: color 0.2s;
      font-size: 14px;
    }

    .footer a:hover {
      color: var(--accent);
    }

    .footer-bottom {
      border-top: 1px solid #444;
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      flex-wrap: wrap;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .hero-image {
        order: -1;
      }
      .highlights-grid {
        grid-template-columns: 1fr 1fr;
      }
      .pricing-grid {
        grid-template-columns: 1fr 1fr;
      }
      .masonry {
        column-count: 2;
      }
      .search-box {
        max-width: 60%;
      }
      .nav-links {
        gap: 16px;
      }
    }

    @media (max-width: 768px) {
      .header-inner {
        flex-direction: column;
        align-items: stretch;
      }
      .search-box {
        max-width: 100%;
      }
      .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        font-size: 14px;
        gap: 20px;
      }
      .highlights-grid,
      .pricing-grid {
        grid-template-columns: 1fr;
      }
      .masonry {
        column-count: 1;
      }
      .hero {
        padding: 48px 0;
      }
      .section {
        padding: 48px 0;
      }
      .hero-text h1 {
        font-size: 32px;
      }
      .section-title {
        font-size: 26px;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .cta-form {
        flex-direction: column;
        align-items: center;
      }
      .cta-form input {
        width: 100%;
      }
    }

    @media (max-width: 520px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
