/* roulang page: index */
:root {
        --primary: #1E2A3A;
        --accent: #C49A6C;
        --accent-hover: #A07848;
        --bg: #FAF8F6;
        --card-bg: #FFFFFF;
        --text-primary: #1A1A1A;
        --text-secondary: #4A4A4A;
        --text-muted: #8A8A8A;
        --border-light: #E8E5E1;
        --shadow-card: 0 2px 8px rgba(30,42,58,0.04);
        --shadow-hover: 0 8px 24px rgba(30,42,58,0.08);
        --radius-card: 12px;
        --radius-btn: 8px;
        --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Inter", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
        --container-max: 1200px;
        --header-height: 72px;
      }
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        font-family: var(--font-sans);
        background-color: var(--bg);
        color: var(--text-secondary);
        line-height: 1.7;
        font-size: 16px;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
      }
      a {
        text-decoration: none;
        color: inherit;
        transition: color 0.2s ease;
      }
      img {
        max-width: 100%;
        height: auto;
        display: block;
      }
      button, .btn {
        cursor: pointer;
        font-family: inherit;
        border: none;
        background: transparent;
        outline: none;
        transition: all 0.25s ease;
      }
      ul, ol {
        list-style: none;
      }
      .container {
        width: 100%;
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 1.5rem;
      }
      /* 按钮体系 */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 32px;
        border-radius: var(--radius-btn);
        font-weight: 600;
        font-size: 1rem;
        gap: 0.5rem;
        letter-spacing: 0.3px;
        line-height: 1.2;
      }
      .btn-primary {
        background-color: var(--accent);
        color: white;
        box-shadow: 0 4px 10px rgba(196,154,108,0.2);
      }
      .btn-primary:hover {
        background-color: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(160,120,72,0.25);
        color: white;
      }
      .btn-outline {
        border: 1.5px solid var(--primary);
        color: var(--primary);
        background: transparent;
      }
      .btn-outline:hover {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
      }
      .link-accent {
        color: var(--accent);
        font-weight: 500;
      }
      .link-accent:hover {
        color: var(--accent-hover);
        text-decoration: underline;
      }
      
      /* 导航 */
      .main-header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-light);
        height: var(--header-height);
        display: flex;
        align-items: center;
        transition: box-shadow 0.2s;
      }
      .main-header.scrolled {
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      }
      .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
      }
      .brand {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 700;
        font-size: 1.5rem;
        color: var(--primary);
        letter-spacing: 0.5px;
      }
      .brand i {
        font-size: 1.8rem;
        color: var(--accent);
      }
      .nav-menu {
        display: flex;
        align-items: center;
        gap: 2.5rem;
      }
      .nav-menu a {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-primary);
        position: relative;
        white-space: nowrap;
      }
      .nav-menu a:hover {
        color: var(--accent);
      }
      .nav-mobile-toggle {
        display: none;
        font-size: 1.8rem;
        color: var(--text-primary);
        background: none;
        border: none;
      }
      .mobile-menu-full {
        display: none;
      }
      
      /* Hero */
      .hero {
        display: flex;
        align-items: center;
        padding: 5rem 0 6rem;
        min-height: 490px;
        background-color: var(--bg);
      }
      .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
      }
      .hero-content h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 700;
        line-height: 1.2;
        color: var(--primary);
        margin-bottom: 1.25rem;
      }
      .hero-content p {
        font-size: 1.15rem;
        color: var(--text-secondary);
        margin-bottom: 2rem;
        max-width: 520px;
      }
      .hero-image {
        background-image: url('/assets/images/backpic/back-1.webp');
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        height: 380px;
        width: 100%;
        box-shadow: var(--shadow-hover);
        position: relative;
      }
      .hero-actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
      }
      
      /* 板块标题 */
      .section-title {
        text-align: center;
        margin-bottom: 3.5rem;
      }
      .section-title h2 {
        font-size: 2.2rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 0.75rem;
      }
      .section-title p {
        color: var(--text-secondary);
        max-width: 650px;
        margin: 0 auto;
        font-size: 1.05rem;
      }
      .section-spacing {
        padding: 6rem 0;
      }
      /* 优势卡片 */
      .features-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
      }
      .feature-card {
        background: var(--card-bg);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-card);
        padding: 2rem 1.5rem;
        transition: border 0.25s;
      }
      .feature-card:hover {
        border-color: var(--accent);
      }
      .feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(196,154,108,0.12);
        color: var(--accent);
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
      }
      .feature-card h3 {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 0.5rem;
      }
      
      /* 产品展示 划分ierWorks 图片用的cover搭配 */
      .product-row {
        display: flex;
        gap: 2.5rem;
        align-items: center;
        margin-bottom: 4rem;
        background: var(--card-bg);
        border-radius: var(--radius-card);
        border: 1px solid var(--border-light);
        overflow: hidden;
      }
      .product-row.reverse {
        flex-direction: row-reverse;
      }
      .product-text {
        padding: 2.5rem;
        flex: 1;
      }
      .product-text h3 {
        font-size: 1.6rem;
        color: var(--primary);
        margin-bottom: 0.8rem;
      }
      .product-image {
        flex: 1.2;
        min-height: 260px;
        background-size: cover;
        background-position: center;
      }
      .tag {
        display: inline-block;
        padding: 4px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
        background: rgba(196,154,108,0.12);
        color: var(--accent);
        font-weight: 500;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
      }
      .scenario-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin: 3rem 0;
      }
      .case-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
      }
      .case-card {
        background: white;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-card);
        padding: 1.8rem;
      }
      .stat-highlight {
        font-size: 2.8rem;
        font-weight: 700;
        color: var(--accent);
      }
      /* FAQ */
      .faq-item {
        border-bottom: 1px solid var(--border-light);
        padding: 1.2rem 0;
      }
      .faq-question {
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--primary);
        display: flex;
        justify-content: space-between;
        cursor: pointer;
      }
      .faq-answer {
        color: var(--text-secondary);
        margin-top: 0.75rem;
        display: none;
      }
      .faq-item.active .faq-answer {
        display: block;
      }
      .cta-bg {
        background: #F5F2EF;
        border-radius: 20px;
        padding: 4rem 2rem;
      }
      .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
        padding: 5rem 0 2rem;
      }
      @media (max-width: 1024px) {
        .features-grid { grid-template-columns: repeat(2,1fr); }
        .hero-grid { grid-template-columns: 1fr; }
        .hero-image { height: 280px; }
        .scenario-grid { grid-template-columns: 1fr; }
        .case-grid { grid-template-columns: 1fr; }
      }
      @media (max-width: 768px) {
        .nav-menu { display: none; }
        .nav-mobile-toggle { display: block; }
        .mobile-menu-full {
          position: fixed; top: var(--header-height); left: 0; width: 100%; height: calc(100vh - var(--header-height));
          background: white; flex-direction: column; padding: 1.5rem; gap: 1.8rem; display: none;
        }
        .mobile-menu-full.active { display: flex; }
        .features-grid { grid-template-columns: 1fr; }
        .product-row, .product-row.reverse { flex-direction: column; }
        .footer-grid { grid-template-columns: 1fr; }
      }
