/* roulang page: index */
:root {
      --primary: #7B2FF7;
      --primary-dark: #6928D6;
      --accent: #00F0B5;
      --accent-dark: #00c99e;
      --dark-bg: #0F0F1A;
      --light-bg: #F8F7FC;
      --card-bg: #FFFFFF;
      --text-main: #2D2A3E;
      --text-muted: #5E5A6E;
      --border-light: #E2DFF0;
      --shadow-sm: 0 4px 20px rgba(123, 47, 247, 0.08);
      --shadow-hover: 0 8px 30px rgba(123, 47, 247, 0.15);
      --radius-card: 16px;
      --radius-btn: 8px;
      --radius-big: 20px;
      --font-heading: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      --container-max: 1280px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--light-bg);
      color: var(--text-main);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.25s ease;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-heading);
      font-weight: 700;
      line-height: 1.3;
      color: var(--text-main);
    }

    h1 {
      font-size: clamp(2.2rem, 5vw, 3.2rem);
      letter-spacing: -0.02em;
    }

    h2 {
      font-size: clamp(1.8rem, 4vw, 2.4rem);
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }

    h2::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60px;
      height: 4px;
      background: var(--accent);
      border-radius: 4px;
    }

    h3 {
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
    }

    p {
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      padding: 0 28px;
      height: 50px;
      border-radius: var(--radius-btn);
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
      font-size: 1rem;
      letter-spacing: 0.02em;
      white-space: nowrap;
      background: transparent;
      text-decoration: none;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 12px rgba(123, 47, 247, 0.3);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(123, 47, 247, 0.4);
    }

    .btn-outline {
      border: 2px solid var(--accent);
      color: var(--accent);
      background: transparent;
    }

    .btn-outline:hover {
      background: var(--accent);
      color: var(--dark-bg);
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .btn-light {
      background: white;
      color: var(--primary);
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .btn-light:hover {
      background: #f0f0f0;
      transform: translateY(-2px);
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: 72px;
      display: flex;
      align-items: center;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(123,47,247,0.1);
      transition: background 0.3s;
    }

    .header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 1.8rem;
      letter-spacing: 0.03em;
      background: linear-gradient(135deg, var(--primary) 0%, #9D4EDD 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .logo i {
      background: none;
      -webkit-text-fill-color: var(--primary);
      font-size: 2rem;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 2.2rem;
    }

    .nav-link {
      font-weight: 500;
      color: var(--text-main);
      position: relative;
      padding: 8px 0;
      transition: color 0.2s;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
      border-radius: 4px;
    }

    .nav-link:hover {
      color: var(--primary);
    }

    .nav-link:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
      z-index: 1001;
    }

    .hamburger span {
      display: block;
      width: 28px;
      height: 3px;
      background: var(--primary);
      border-radius: 4px;
      transition: all 0.3s;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100vh;
      background: rgba(15,15,26,0.96);
      backdrop-filter: blur(20px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2.5rem;
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 1000;
    }

    .mobile-menu.active {
      transform: translateX(0);
    }

    .mobile-menu a {
      font-size: 1.8rem;
      color: white;
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .hamburger { display: flex; }
      .header .btn { display: none; }
    }

    /* Hero */
    .hero {
      padding: 140px 0 80px;
      display: flex;
      align-items: center;
      min-height: 80vh;
      background: radial-gradient(circle at 30% 40%, rgba(123,47,247,0.05) 0%, transparent 60%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .hero-left h1 {
      margin-bottom: 1.2rem;
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-muted);
      margin-bottom: 2rem;
      max-width: 90%;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .hero-right {
      display: flex;
      justify-content: center;
      align-items: center;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: var(--radius-big);
      min-height: 380px;
      box-shadow: var(--shadow-hover);
      position: relative;
      overflow: hidden;
    }

    .hero-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(123,47,247,0.2), rgba(0,240,181,0.15));
      mix-blend-mode: overlay;
    }

    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-left h1 { font-size: 2.2rem; }
      .hero-buttons { justify-content: center; }
      .hero-right { min-height: 280px; }
    }

    /* 亮点网格 */
    .highlights {
      padding: 80px 0;
    }

    .section-title {
      margin-bottom: 3rem;
      text-align: left;
    }

    .grid-irregular {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .grid-irregular .card-large {
      grid-column: span 2;
    }

    .highlight-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 2rem 1.8rem;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
      border: 1px solid var(--border-light);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .highlight-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .highlight-icon {
      font-size: 2.2rem;
      color: var(--accent);
      margin-bottom: 1.2rem;
    }

    @media (max-width: 992px) {
      .grid-irregular {
        grid-template-columns: repeat(2, 1fr);
      }
      .grid-irregular .card-large {
        grid-column: span 2;
      }
    }

    @media (max-width: 600px) {
      .grid-irregular {
        grid-template-columns: 1fr;
      }
      .grid-irregular .card-large {
        grid-column: span 1;
      }
    }

    /* 案例瀑布流 */
    .cases {
      padding: 80px 0;
      background: #fff;
    }

    .waterfall {
      columns: 3;
      column-gap: 24px;
    }

    .case-card {
      break-inside: avoid;
      background: var(--card-bg);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      margin-bottom: 24px;
      transition: all 0.3s;
      border: 1px solid var(--border-light);
    }

    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .case-img {
      width: 100%;
      height: auto;
      object-fit: cover;
      transition: transform 0.4s;
    }

    .case-card:hover .case-img {
      transform: scale(1.02);
    }

    .case-content {
      padding: 1.2rem 1.5rem;
    }

    .badge {
      display: inline-block;
      background: var(--primary);
      color: white;
      font-size: 0.75rem;
      padding: 4px 10px;
      border-radius: 20px;
      margin-bottom: 0.8rem;
    }

    @media (max-width: 992px) {
      .waterfall { columns: 2; }
    }

    @media (max-width: 600px) {
      .waterfall { columns: 1; }
    }

    /* 方案对比 */
    .compare {
      padding: 80px 0;
    }

    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }

    .compare-col {
      background: white;
      border-radius: var(--radius-big);
      padding: 2.5rem 2rem;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-light);
    }

    .compare-col.featured {
      border: 2px solid var(--primary);
      box-shadow: 0 12px 30px rgba(123,47,247,0.12);
    }

    .compare-list {
      list-style: none;
      margin: 2rem 0;
    }

    .compare-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
    }

    @media (max-width: 768px) {
      .compare-grid {
        grid-template-columns: 1fr;
      }
    }

    /* FAQ */
    .faq {
      padding: 80px 0;
      background: #fff;
    }

    .accordion {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }

    .faq-question {
      width: 100%;
      background: none;
      border: none;
      padding: 1.4rem 0;
      font-weight: 600;
      font-size: 1.1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: var(--text-main);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-muted);
      padding-right: 20px;
    }

    .faq-answer.open {
      max-height: 200px;
      padding-bottom: 1rem;
    }

    /* CTA 横幅 */
    .cta-band {
      background: var(--dark-bg);
      padding: 80px 0;
      text-align: center;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .cta-band::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(123,47,247,0.4) 0%, transparent 70%);
      top: -100px;
      left: 10%;
      border-radius: 50%;
    }

    .cta-content {
      position: relative;
      z-index: 2;
    }

    /* 页脚 */
    .footer {
      background: var(--dark-bg);
      color: #ccc;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
    }

    .footer a {
      color: #aaa;
      display: block;
      margin-bottom: 8px;
    }

    .copyright {
      margin-top: 3rem;
      text-align: center;
      color: #777;
      border-top: 1px solid #2a2a3a;
      padding-top: 2rem;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
