/* roulang page: index */
:root {
      --primary: #00E676;
      --primary-dark: #00C853;
      --secondary: #1A1A2E;
      --accent: #FF2D55;
      --bg-global: #0D0D1A;
      --bg-card: #16162B;
      --bg-light: #F0F0F5;
      --text-main: #FFFFFF;
      --text-body: #B0B0C0;
      --text-muted: #707080;
      --border-glow: rgba(0, 230, 118, 0.08);
      --border-glow-hover: rgba(0, 230, 118, 0.25);
      --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
      --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.6);
      --radius-btn: 8px;
      --radius-card: 12px;
      --radius-input: 6px;
      --radius-block: 16px;
      --space-section: 80px;
      --space-element: 24px;
      --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
      --font-stack: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-mono: "Inter", "SF Pro Display", system-ui;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-stack);
      background-color: var(--bg-global);
      color: var(--text-body);
      line-height: 1.8;
      -webkit-font-smoothing: antialiased;
      padding-bottom: 56px; /* 移动端底部 Tab 占位 */
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition-smooth);
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: none;
      background: none;
      transition: var(--transition-smooth);
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航桌面端 */
    .desktop-nav {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(13, 13, 26, 0.85);
      backdrop-filter: blur(12px);
      height: 64px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--border-glow);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--text-main);
      letter-spacing: 0.5px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/></svg>') center/contain no-repeat;
      background-color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      color: var(--text-body);
      font-weight: 500;
      position: relative;
      padding: 4px 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--text-main);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      color: var(--text-main);
      font-size: 1.8rem;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(13, 13, 26, 0.98);
      backdrop-filter: blur(20px);
      z-index: 999;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
    }

    .mobile-menu.active {
      display: flex;
    }

    .mobile-menu a {
      font-size: 1.4rem;
      font-weight: 600;
      color: var(--text-main);
    }

    .close-menu {
      position: absolute;
      top: 24px;
      right: 24px;
      font-size: 2rem;
      background: none;
      border: none;
      color: white;
    }

    /* 底部 Tab (移动端) */
    .mobile-tab-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: var(--bg-card);
      height: 56px;
      z-index: 1001;
      border-top: 1px solid var(--border-glow);
    }

    .tab-inner {
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 100%;
    }

    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--text-muted);
      font-size: 0.7rem;
      gap: 4px;
      transition: var(--transition-smooth);
    }

    .tab-item svg {
      width: 24px;
      height: 24px;
      stroke: currentColor;
    }

    .tab-item.active {
      color: var(--primary);
      transform: scale(1.05);
    }

    /* Hero */
    .hero {
      min-height: 70vh;
      display: flex;
      align-items: center;
      background-color: var(--bg-global);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 5fr 7fr;
      gap: 40px;
      align-items: center;
    }

    .hero-left h1 {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: 0.02em;
      color: var(--text-main);
      margin-bottom: 1.2rem;
    }

    .hero-left .subtitle {
      font-size: 1.1rem;
      color: var(--text-body);
      margin-bottom: 2rem;
      max-width: 90%;
    }

    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #0D0D1A;
      font-weight: 700;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      box-shadow: 0 4px 12px rgba(0, 230, 118, 0.3);
    }

    .btn-primary:hover {
      filter: brightness(1.15);
      box-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
      transform: translateY(-2px);
    }

    .btn-outline {
      border: 2px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      background: transparent;
    }

    .btn-outline:hover {
      background: var(--primary);
      color: #0D0D1A;
    }

    .hero-right {
      position: relative;
      border-radius: var(--radius-block);
      overflow: hidden;
      box-shadow: inset 0 0 80px rgba(0, 230, 118, 0.2);
    }

    .hero-right img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    /* 通用区块标题 */
    .section-title {
      font-size: 2rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 1rem;
      line-height: 1.35;
    }

    .section-sub {
      color: var(--text-body);
      margin-bottom: 40px;
    }

    /* 亮点网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--shadow-card);
      transition: var(--transition-smooth);
    }

    .feature-card:hover {
      border-color: var(--border-glow-hover);
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }

    .feature-card.wide {
      grid-column: span 2;
    }

    .feature-icon {
      width: 32px;
      height: 32px;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .feature-card h3 {
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 8px;
    }

    /* 案例瀑布流 */
    .cases-masonry {
      column-count: 3;
      column-gap: 20px;
    }

    .case-card {
      break-inside: avoid;
      background: var(--bg-card);
      border-radius: var(--radius-card);
      overflow: hidden;
      margin-bottom: 20px;
      border: 1px solid var(--border-glow);
      transition: var(--transition-smooth);
    }

    .case-card:hover {
      border-color: var(--border-glow-hover);
      transform: translateY(-4px);
    }

    .case-img {
      overflow: hidden;
    }

    .case-img img {
      transition: transform 0.4s ease;
    }

    .case-card:hover .case-img img {
      transform: scale(1.03);
      filter: brightness(1.1);
    }

    .case-info {
      padding: 16px;
    }

    .tag {
      background: rgba(0, 230, 118, 0.15);
      color: var(--primary);
      font-size: 0.75rem;
      padding: 2px 10px;
      border-radius: 12px;
      display: inline-block;
      margin-bottom: 8px;
      font-weight: 500;
    }

    /* 对比表 */
    .compare-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .compare-col {
      background: #1E1E30;
      border-radius: var(--radius-card);
      padding: 32px;
    }

    .compare-col.winner {
      background: #162B1E;
      border: 1px solid rgba(0, 230, 118, 0.2);
    }

    .compare-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
      font-size: 1rem;
    }

    .icon-check {
      color: var(--primary);
      font-weight: bold;
    }

    .icon-cross {
      color: var(--accent);
      font-weight: bold;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-glow);
      margin-bottom: 8px;
    }

    .faq-question {
      background: none;
      border: none;
      width: 100%;
      text-align: left;
      padding: 20px 0;
      font-weight: 600;
      font-size: 1.1rem;
      color: var(--text-main);
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-left: 3px solid var(--primary);
      padding-left: 16px;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #1A1A30;
      padding: 0 20px;
      color: var(--text-body);
      line-height: 1.9;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 16px 20px;
    }

    /* CTA 横幅 */
    .cta-banner {
      background: #0A0A16;
      padding: 80px 0;
      text-align: center;
    }

    .pulse-glow {
      animation: pulse-glow 2s infinite;
    }

    @keyframes pulse-glow {
      0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
      70% { box-shadow: 0 0 0 15px rgba(0, 230, 118, 0); }
      100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
    }

    /* Footer */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      padding: 60px 0;
    }

    .copyright {
      background: #050510;
      text-align: center;
      padding: 16px;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    /* 响应式 */
    @media (max-width: 1199px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .feature-card.wide {
        grid-column: span 2;
      }
    }

    @media (max-width: 991px) {
      .cases-masonry {
        column-count: 2;
      }
      .compare-wrapper {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 767px) {
      .desktop-nav .nav-links {
        display: none;
      }
      .hamburger {
        display: block;
      }
      .mobile-tab-bar {
        display: block;
      }
      body {
        padding-bottom: 56px;
      }
      .hero-left h1 {
        font-size: 2.2rem;
      }
      .features-grid {
        grid-template-columns: 1fr;
      }
      .feature-card.wide {
        grid-column: span 1;
      }
      .cases-masonry {
        column-count: 1;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .container {
        padding: 0 20px;
      }
      .btn-group {
        flex-direction: column;
      }
    }
