/* roulang page: index */
@tailwind base;
    @tailwind components;
    @tailwind utilities;

    :root {
      --primary-red: #E63946;
      --primary-red-deep: #C1121F;
      --dark-rock: #1D1D1D;
      --sand-gold: #C9A96E;
      --warm-stone: #F7F5F0;
      --pure-white: #FFFFFF;
      --text-strong: #1D1D1D;
      --text-soft: #4A4A4A;
      --border-light: #E5E0D8;
      --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
      --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-chip: 20px;
      --font-brand: "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: var(--font-brand);
      background-color: var(--warm-stone);
      color: var(--text-strong);
      line-height: 1.8;
      letter-spacing: 0.2px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      transition: all 0.25s ease;
      outline: none;
      border: none;
      font-weight: 600;
    }

    .container-main {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 导航栏 */
    .nav-blur {
      background: rgba(247, 245, 240, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(29, 29, 29, 0.05);
    }

    .logo-text {
      font-weight: 800;
      font-size: 1.5rem;
      color: var(--primary-red);
      letter-spacing: -0.5px;
      line-height: 1.2;
    }

    .chip-nav {
      background: transparent;
      color: var(--dark-rock);
      padding: 8px 18px;
      border-radius: var(--radius-chip);
      font-weight: 600;
      font-size: 0.95rem;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .chip-nav:hover {
      background: rgba(230, 57, 70, 0.08);
      color: var(--primary-red);
    }

    .chip-nav.active {
      background: var(--primary-red);
      color: white;
    }

    .btn-primary {
      background: var(--primary-red);
      color: white;
      border-radius: var(--radius-btn);
      padding: 12px 28px;
      font-weight: 700;
      font-size: 0.95rem;
      box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      letter-spacing: 0.3px;
    }

    .btn-primary:hover {
      background: var(--primary-red-deep);
      box-shadow: 0 8px 18px rgba(193, 18, 31, 0.3);
      transform: translateY(-1px);
    }

    .btn-outline-gold {
      background: transparent;
      border: 1.5px solid var(--sand-gold);
      color: var(--sand-gold);
      border-radius: var(--radius-btn);
      padding: 12px 28px;
      font-weight: 700;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-outline-gold:hover {
      background: var(--sand-gold);
      color: white;
      transform: translateY(-1px);
    }

    /* Hero */
    .hero-gradient {
      background: linear-gradient(180deg, rgba(29,29,29,0.7) 0%, rgba(29,29,29,0.4) 70%, rgba(29,29,29,0.7) 100%);
    }

    .highlight-text {
      color: var(--primary-red);
      font-weight: 800;
    }

    /* 卡片 */
    .card-white {
      background: var(--pure-white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      border: 1px solid rgba(0,0,0,0.02);
    }

    .card-white:hover {
      box-shadow: var(--shadow-card-hover);
      transform: translateY(-4px);
    }

    .card-image {
      transition: transform 0.4s ease;
      object-fit: cover;
      width: 100%;
      height: auto;
    }

    .card-white:hover .card-image {
      transform: scale(1.03);
    }

    /* tab 切换 */
    .tab-button {
      transition: all 0.25s;
      font-weight: 600;
      border-radius: 30px;
      padding: 10px 24px;
      background: transparent;
      color: var(--text-soft);
    }
    .tab-button.active {
      background: var(--primary-red);
      color: white;
      box-shadow: 0 6px 14px rgba(230,57,70,0.25);
    }

    /* FAQ 手风琴 */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 18px 0;
    }
    .faq-question {
      font-weight: 700;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      cursor: pointer;
      color: var(--dark-rock);
    }
    .faq-icon {
      color: var(--sand-gold);
      font-size: 1.5rem;
      margin-right: 12px;
      width: 28px;
      text-align: center;
      transition: transform 0.2s;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-soft);
      line-height: 1.8;
      margin-left: 40px;
    }
    .faq-item.open .faq-answer {
      max-height: 400px;
    }

    /* 案例卡片 */
    .case-scroll::-webkit-scrollbar {
      height: 6px;
    }
    .case-scroll::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 10px;
    }

    .stat-number {
      font-weight: 800;
      color: var(--primary-red);
      font-size: 2rem;
      line-height: 1.2;
    }

    /* 页脚 */
    .footer-dark {
      background: var(--dark-rock);
      color: rgba(255,255,255,0.8);
    }
    .footer-link {
      color: rgba(255,255,255,0.7);
      transition: color 0.2s;
    }
    .footer-link:hover {
      color: var(--sand-gold);
    }

    @media (max-width: 768px) {
      .container-main {
        padding-left: 16px;
        padding-right: 16px;
      }
      .chip-nav {
        padding: 6px 14px;
        font-size: 0.8rem;
      }
    }
    @media (max-width: 1024px) {
      .tab-button {
        padding: 8px 18px;
        font-size: 0.9rem;
      }
    }
