/* roulang page: index */
:root {
      --primary: #5C2E1A;
      --primary-dark: #3E1A0A;
      --accent: #C49A3C;
      --accent-glow: rgba(196,154,60,0.3);
      --bg-warm: #FDF8F2;
      --bg-soft: #F5EDE4;
      --deep-dark: #2B1A0E;
      --darker-bg: #1A0F08;
      --text-primary: #2B1A0E;
      --text-soft: #7A6A5C;
      --card-border: #E8D5C4;
      --card-shadow: 0 2px 12px rgba(92,46,26,0.06);
      --card-hover-shadow: 0 8px 28px rgba(92,46,26,0.12);
      --radius-card: 16px;
      --radius-btn: 8px;
      --radius-hero: 24px;
      --font-heading: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
      --font-number: "Inter", "SF Pro Display", system-ui, sans-serif;
    }
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: var(--font-heading);
      background-color: var(--bg-warm);
      color: var(--text-primary);
      line-height: 1.6;
      display: flex;
      flex-direction: column;
    }
    h1, h2, h3 {
      font-family: var(--font-heading);
      margin-top: 0;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s;
    }
    img {
      max-width: 100%;
      display: block;
    }
    button, .button {
      cursor: pointer;
      font-family: var(--font-heading);
      border: none;
      background: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s ease;
    }
    input {
      font-family: var(--font-heading);
    }

    /* 左侧导航桌面布局 */
    .app-wrapper {
      display: flex;
      min-height: 100vh;
    }
    .side-nav {
      width: 240px;
      background-color: var(--deep-dark);
      color: var(--accent);
      display: flex;
      flex-direction: column;
      padding: 32px 0 24px;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      z-index: 40;
      transition: transform 0.3s ease;
    }
    .nav-logo {
      font-size: 28px;
      font-weight: 700;
      color: var(--accent);
      padding: 0 24px 24px;
      margin-bottom: 12px;
      border-bottom: 1px solid rgba(196,154,60,0.25);
      letter-spacing: 1px;
    }
    .nav-links {
      list-style: none;
      margin: 0;
      padding: 0;
      flex: 1;
    }
    .nav-links li a {
      display: block;
      padding: 16px 24px;
      color: rgba(196,154,60,0.7);
      font-weight: 500;
      border-left: 4px solid transparent;
      transition: all 0.2s;
    }
    .nav-links li a:hover,
    .nav-links li a.active {
      background-color: rgba(196,154,60,0.08);
      color: var(--accent);
      border-left-color: var(--accent);
    }
    .nav-slogan {
      padding: 24px 24px 8px;
      font-size: 12px;
      color: var(--text-soft);
      opacity: 0.8;
    }
    .main-content {
      margin-left: 240px;
      width: calc(100% - 240px);
      background: var(--bg-warm);
    }

    /* 移动导航 */
    .mobile-header {
      display: none;
      background: var(--deep-dark);
      height: 64px;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
    }
    .mobile-logo {
      font-size: 24px;
      font-weight: 700;
      color: var(--accent);
    }
    .hamburger {
      font-size: 24px;
      color: var(--accent);
      background: none;
      border: none;
    }
    .mobile-menu {
      position: fixed;
      top: 64px;
      left: 0;
      width: 100%;
      background: var(--deep-dark);
      flex-direction: column;
      padding: 20px;
      display: none;
      z-index: 45;
    }
    .mobile-menu.open {
      display: flex;
    }
    .mobile-menu a {
      padding: 14px 10px;
      color: rgba(196,154,60,0.8);
      border-bottom: 1px solid rgba(196,154,60,0.15);
      font-weight: 500;
    }

    /* 容器 */
    .content-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }

    /* Hero */
    #hero {
      display: flex;
      align-items: center;
      padding: 120px 0 80px;
      background: linear-gradient(180deg, #FDF8F2 0%, #F5EDE4 100%);
    }
    .hero-grid {
      display: flex;
      gap: 40px;
      align-items: center;
    }
    .hero-text {
      flex: 1 1 55%;
    }
    .hero-text h1 {
      font-size: 48px;
      line-height: 1.2;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.5px;
      margin-bottom: 18px;
    }
    .hero-text h1 span {
      color: var(--accent);
    }
    .hero-sub {
      font-size: 18px;
      color: var(--text-soft);
      margin-bottom: 32px;
      line-height: 1.6;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      box-shadow: 0 4px 10px rgba(92,46,26,0.2);
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
    }
    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }
    .hero-image {
      flex: 1 1 45%;
      position: relative;
    }
    .hero-bg-img {
      width: 100%;
      height: 380px;
      object-fit: cover;
      border-radius: var(--radius-hero);
      box-shadow: var(--card-hover-shadow);
    }
    .hero-badge {
      position: absolute;
      bottom: 20px;
      right: 20px;
      background: var(--accent);
      color: white;
      width: 90px;
      height: 90px;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
    .hero-badge span {
      font-size: 22px;
      font-family: var(--font-number);
    }

    /* 板块通用 */
    .section {
      padding: 100px 0;
    }
    .section h2 {
      font-size: 36px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 16px;
      position: relative;
      display: inline-block;
    }
    .section h2::after {
      content: '';
      display: block;
      width: 50px;
      height: 4px;
      background: var(--accent);
      margin-top: 8px;
    }

    /* 数据看板 */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      margin-top: 40px;
    }
    .metric-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 36px 20px;
      text-align: center;
      border: 1px solid var(--card-border);
      box-shadow: var(--card-shadow);
      transition: 0.3s;
    }
    .metric-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--card-hover-shadow);
    }
    .metric-number {
      font-family: var(--font-number);
      font-size: 56px;
      font-weight: 700;
      color: var(--primary);
    }
    .metric-label {
      color: var(--text-soft);
      margin-top: 8px;
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 40px;
    }
    .service-card {
      background: white;
      border-radius: var(--radius-card);
      border: 1px solid var(--card-border);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: 0.3s;
    }
    .service-card:hover {
      transform: translateY(-6px);
      border-color: var(--accent);
      box-shadow: var(--card-hover-shadow);
    }
    .service-img {
      height: 200px;
      object-fit: cover;
    }
    .service-body {
      padding: 24px;
    }
    .service-body h3 {
      font-size: 22px;
      color: var(--primary);
    }
    .btn-service {
      margin-top: 16px;
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
    }
    .btn-service:hover {
      background: var(--primary);
      color: white;
    }

    /* 对比 */
    .comparison-row {
      display: flex;
      gap: 32px;
      margin-top: 40px;
    }
    .vs-col {
      flex: 1;
      border-radius: var(--radius-card);
      padding: 32px;
    }
    .vs-left {
      background: #F5EDE4;
    }
    .vs-right {
      background: white;
      border: 2px solid var(--accent);
    }
    .vs-icon {
      margin-right: 8px;
    }
    .progress-bar {
      background: #E8D5C4;
      height: 8px;
      border-radius: 4px;
      margin: 20px 0;
    }
    .progress-fill {
      background: var(--accent);
      height: 8px;
      border-radius: 4px;
      width: 0%;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 40px auto 0;
    }
    .faq-item {
      background: white;
      border-radius: var(--radius-card);
      margin-bottom: 16px;
      border: 1px solid var(--card-border);
      overflow: hidden;
    }
    .faq-question {
      padding: 20px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      background: white;
    }
    .faq-answer {
      padding: 0 24px 20px;
      display: none;
      background: #FDF8F2;
    }
    .faq-item.active .faq-answer {
      display: block;
    }

    /* CTA */
    .cta-section {
      background: var(--deep-dark);
      padding: 80px 0;
    }
    .cta-inner {
      max-width: 700px;
      margin: 0 auto;
      text-align: center;
    }
    .cta-inner h2 {
      color: white;
    }
    .cta-form input {
      width: 100%;
      padding: 14px;
      margin: 12px 0;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(196,154,60,0.3);
      border-radius: var(--radius-btn);
      color: white;
    }
    .btn-cta {
      background: linear-gradient(135deg, #C49A3C, #A87F2A);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 700;
      width: 100%;
      box-shadow: 0 4px 16px var(--accent-glow);
    }

    footer {
      background: #1A0F08;
      color: #7A6A5C;
      padding: 40px 0;
    }

    @media (max-width: 1023px) {
      .side-nav { display: none; }
      .main-content { margin-left: 0; width: 100%; }
      .mobile-header { display: flex; }
      .hero-grid { flex-direction: column; }
      .metrics-grid { grid-template-columns: repeat(2,1fr); }
      .services-grid { grid-template-columns: 1fr; }
      .comparison-row { flex-direction: column; }
      .content-container { padding: 0 20px; }
    }
