/* roulang page: index */
:root {
      --primary: #E8472D;
      --secondary: #1A1A2E;
      --accent: #F7B731;
      --bg: #F9F6F0;
      --card: #FFFFFF;
      --text: #1A1A2E;
      --text-light: #5A5A6E;
      --border: #E5E0D8;
      --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
      --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);
      --radius: 16px;
      --radius-sm: 12px;
      --font-title: 'PingFang SC', 'Alibaba PuHuiTi Bold', 'Helvetica Neue', '黑体', system-ui, sans-serif;
      --font-body: 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', system-ui, sans-serif;
      --nav-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      font-size: 16px;
      font-weight: 400;
      line-height: 1.75;
      color: var(--text);
      background-color: var(--bg);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s, opacity 0.2s;
    }

    img {
      display: block;
      max-width: 100%;
      height: auto;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-body);
      transition: all 0.25s ease;
      border: none;
      outline: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(26, 26, 46, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 1000;
      display: flex;
      align-items: center;
      transition: background 0.3s, box-shadow 0.3s;
      border-bottom: 1px solid transparent;
    }

    .nav.scrolled {
      background: #1A1A2E;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    }

    .nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      font-family: var(--font-title);
      font-size: 22px;
      font-weight: 800;
      color: #FFFFFF;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo span {
      color: var(--accent);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 40px;
      list-style: none;
    }

    .nav-links a {
      color: #FFFFFF;
      font-size: 15px;
      font-weight: 500;
      position: relative;
      padding: 8px 0;
      letter-spacing: 0.5px;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background-color: var(--accent);
      transition: width 0.2s;
      border-radius: 2px;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      width: 28px;
      height: 22px;
      justify-content: center;
    }

    .hamburger span {
      display: block;
      width: 100%;
      height: 2.5px;
      background: #fff;
      border-radius: 2px;
      transition: all 0.3s;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--nav-height);
      left: 0;
      width: 100%;
      height: 100%;
      background: #1A1A2E;
      z-index: 999;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 60px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }

    .mobile-menu.active {
      opacity: 1;
      pointer-events: auto;
      display: flex;
    }

    .mobile-menu a {
      color: #fff;
      font-size: 20px;
      padding: 20px 0;
      font-weight: 500;
      display: block;
      text-align: center;
    }

    /* Hero */
    .hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      background: var(--bg);
      padding-top: var(--nav-height);
      position: relative;
      overflow: hidden;
    }

    .hero .container {
      display: flex;
      align-items: center;
      gap: 60px;
      width: 100%;
    }

    .hero-text {
      flex: 0 0 55%;
    }

    .hero-text h1 {
      font-family: var(--font-title);
      font-size: clamp(36px, 5vw, 56px);
      font-weight: 900;
      color: var(--secondary);
      line-height: 1.2;
      margin-bottom: 24px;
      letter-spacing: -0.5px;
    }

    .hero-text h1 .highlight {
      color: var(--primary);
    }

    .hero-text p {
      font-size: 18px;
      color: var(--text-light);
      margin-bottom: 40px;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      padding: 14px 32px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 16px;
      letter-spacing: 1px;
    }

    .btn-primary:hover {
      background: #C0392B;
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(232, 71, 45, 0.3);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--secondary);
      color: var(--secondary);
      padding: 14px 32px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 16px;
    }

    .btn-outline:hover {
      background: rgba(26,26,46,0.05);
    }

    .hero-media {
      flex: 0 0 45%;
      position: relative;
    }

    .hero-media img {
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      border-radius: var(--radius);
      box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    }

    /* 板块通用 */
    section {
      padding: 100px 0;
    }

    .section-title {
      font-family: var(--font-title);
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 800;
      text-align: center;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }

    .section-sub {
      text-align: center;
      color: var(--text-light);
      max-width: 600px;
      margin: 0 auto 60px;
      font-size: 18px;
    }

    /* 亮点网格 */
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 40px;
    }

    .highlight-item {
      text-align: left;
      padding: 20px 10px;
    }

    .highlight-icon {
      font-size: 48px;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .highlight-item h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .highlight-item p {
      color: var(--text-light);
      font-size: 15px;
    }

    /* 案例瀑布 */
    .cases-masonry {
      columns: 3;
      column-gap: 24px;
      break-inside: avoid;
    }

    .case-card {
      background: var(--card);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-sm);
      margin-bottom: 24px;
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .case-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .case-img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .case-content {
      padding: 20px;
    }

    .case-tag {
      background: rgba(247, 183, 49, 0.15);
      color: var(--primary);
      font-size: 12px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 12px;
    }

    .case-card h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .case-card p {
      font-size: 15px;
      color: var(--text-light);
    }

    /* 方案对比 */
    .compare-row {
      display: flex;
      gap: 30px;
      align-items: flex-start;
      justify-content: center;
    }

    .compare-col {
      flex: 1;
      background: var(--card);
      border-radius: var(--radius);
      padding: 40px 32px;
      box-shadow: var(--shadow-sm);
      position: relative;
    }

    .compare-col.featured {
      border: 2px solid var(--primary);
    }

    .badge {
      position: absolute;
      top: -14px;
      right: 20px;
      background: var(--accent);
      color: #1A1A2E;
      font-weight: 700;
      font-size: 13px;
      padding: 6px 18px;
      border-radius: 20px;
    }

    .compare-col h3 {
      font-size: 26px;
      font-weight: 700;
    }

    .compare-list {
      list-style: none;
      margin: 28px 0;
    }

    .compare-list li {
      padding: 10px 0;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .vs-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 22px;
      color: var(--primary);
      margin: 0 10px;
    }

    /* 数据区 */
    #data {
      background: var(--secondary);
      color: #fff;
    }

    .data-grid {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      text-align: center;
    }

    .data-item {
      padding: 20px;
    }

    .data-num {
      font-size: 64px;
      font-weight: 900;
      color: var(--accent);
    }

    .data-label {
      font-size: 16px;
      color: rgba(255,255,255,0.8);
      margin-top: 8px;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      background: var(--card);
      border-bottom: 1px solid var(--border);
      margin-bottom: 8px;
    }

    .faq-question {
      padding: 22px 20px;
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 20px;
      color: var(--text-light);
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-bottom: 20px;
    }

    /* CTA */
    #cta {
      background: var(--primary);
      text-align: center;
      padding: 80px 0;
    }

    #cta h2 {
      color: #fff;
      font-size: 38px;
    }

    #cta .btn-white {
      border: 2px solid #fff;
      color: #fff;
      padding: 14px 40px;
      border-radius: 40px;
      font-weight: 600;
      background: transparent;
      margin-top: 24px;
    }

    /* 页脚 */
    footer {
      background: #1A1A2E;
      color: #CCCCD6;
      padding: 60px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .copyright {
      text-align: center;
      margin-top: 40px;
      font-size: 14px;
      color: #888;
    }

    /* 移动端 */
    @media (max-width: 1024px) {
      .cases-masonry { columns: 2; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero .container { flex-direction: column; }
      .hero-text, .hero-media { flex: auto; }
      .highlights-grid { grid-template-columns: 1fr; }
      .cases-masonry { columns: 1; }
      .compare-row { flex-direction: column; }
      .vs-divider { margin: 20px 0; }
      .footer-grid { grid-template-columns: 1fr; }
    }
