/* roulang page: index */
:root {
      --primary: #F04E23;
      --primary-dark: #D43D1A;
      --secondary: #1A1A1A;
      --bg: #FAF8F5;
      --surface: #FFFFFF;
      --accent: #00C48C;
      --text-main: #1A1A1A;
      --text-body: #3D3D3D;
      --text-muted: #8C8C8C;
      --text-on-dark: #FFFFFF;
      --border-light: #EBE8E3;
      --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
      --shadow-hover: 0 8px 24px rgba(240, 78, 35, 0.12);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-pill: 24px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --container-max: 1200px;
      --space-section: 100px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text-body);
      line-height: 1.7;
      font-size: 1rem;
      -webkit-font-smoothing: antialiased;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    ul {
      list-style: none;
    }
    button, input {
      font-family: inherit;
      font-size: inherit;
    }
    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }
    h1, h2, h3, .h2, .h3 {
      color: var(--text-main);
      font-weight: 700;
    }
    h1 {
      font-size: clamp(2.5rem, 5vw, 4rem);
      letter-spacing: -0.02em;
      line-height: 1.2;
    }
    h2, .h2 {
      font-size: clamp(2rem, 4vw, 2.75rem);
      letter-spacing: -0.01em;
      font-weight: 600;
    }
    h3, .h3 {
      font-size: 1.25rem;
      font-weight: 600;
    }
    .text-muted {
      color: var(--text-muted);
    }
    .section {
      padding: var(--space-section) 0;
    }
    @media (max-width: 768px) {
      :root {
        --space-section: 60px;
      }
      .section {
        padding: var(--space-section) 0;
      }
    }

    /* 导航 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background: rgba(250, 248, 245, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 100;
      display: flex;
      align-items: center;
      border-bottom: 1px solid rgba(235, 232, 227, 0.5);
    }
    .nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }
    .logo span {
      color: var(--primary);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-links a {
      color: var(--text-body);
      font-weight: 500;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s ease;
    }
    .nav-links a:hover {
      color: var(--primary);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s, box-shadow 0.3s;
      display: inline-block;
      text-align: center;
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      box-shadow: 0 4px 16px rgba(240, 78, 35, 0.3);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      display: inline-block;
      text-align: center;
    }
    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }
    .mobile-nav {
      display: none;
    }

    @media (max-width: 1024px) {
      .nav-links {
        gap: 20px;
      }
    }
    @media (max-width: 768px) {
      .desktop-nav {
        display: none;
      }
      .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border-radius: var(--radius-pill);
        padding: 8px 20px;
        gap: 24px;
        z-index: 110;
        backdrop-filter: blur(12px);
        background: rgba(255,255,255,0.9);
      }
      .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.7rem;
        color: var(--text-body);
        gap: 4px;
        font-weight: 500;
      }
      .mobile-nav i {
        font-size: 1.3rem;
        color: var(--text-muted);
      }
      .mobile-nav a:hover i,
      .mobile-nav a:active i {
        color: var(--primary);
      }
      .nav {
        height: 60px;
      }
    }

    /* Hero */
    .hero {
      padding-top: 120px;
      padding-bottom: 80px;
      background-color: var(--bg);
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: -50px;
      right: -100px;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(240,78,35,0.15) 0%, rgba(250,248,245,0) 70%);
      border-radius: 50%;
      z-index: 0;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 40px;
      position: relative;
      z-index: 2;
    }
    .hero-content h1 {
      margin-bottom: 16px;
    }
    .hero-sub {
      font-size: 1.25rem;
      color: var(--text-body);
      margin-bottom: 32px;
      max-width: 450px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-image {
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 24px;
      height: 400px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.08);
      position: relative;
      overflow: hidden;
    }
    .scroll-hint {
      text-align: center;
      margin-top: 40px;
      animation: bounce 2s infinite;
      color: var(--text-muted);
      font-size: 1.5rem;
    }
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(8px); }
    }

    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-content {
        order: 1;
      }
      .hero-image {
        order: 0;
        height: 250px;
        margin-bottom: 20px;
      }
      .hero-buttons {
        justify-content: center;
      }
      .hero-sub {
        max-width: 100%;
      }
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 40px;
    }
    .stat-card {
      background: var(--surface);
      padding: 28px 24px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      gap: 12px;
      position: relative;
      transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .stat-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .stat-top-line {
      width: 40px;
      height: 4px;
      background: var(--primary);
      border-radius: 2px;
    }
    .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary);
      font-feature-settings: "tnum";
      letter-spacing: -0.5px;
    }
    .stat-label {
      color: var(--text-muted);
      font-weight: 500;
    }
    .pulse {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 12px;
      height: 12px;
      background: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 0 0 rgba(0,196,140,0.6);
      animation: pulse-ring 2s infinite;
    }
    @keyframes pulse-ring {
      0% { box-shadow: 0 0 0 0 rgba(0,196,140,0.6); }
      70% { box-shadow: 0 0 0 10px rgba(0,196,140,0); }
      100% { box-shadow: 0 0 0 0 rgba(0,196,140,0); }
    }
    @media (max-width: 768px) {
      .dashboard-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 40px;
    }
    .service-card {
      background: var(--surface);
      padding: 32px 24px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      text-align: center;
      transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .service-icon {
      font-size: 2.5rem;
      color: var(--text-muted);
      margin-bottom: 20px;
      transition: transform 0.3s, color 0.3s;
    }
    .service-card:hover .service-icon {
      transform: rotate(8deg);
      color: var(--primary);
    }
    .service-title {
      font-weight: 600;
      margin-bottom: 8px;
    }
    @media (max-width: 1024px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 520px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 对比表 */
    .compare-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-top: 40px;
    }
    .compare-col {
      background: #F5F3F0;
      border-radius: var(--radius-card);
      padding: 32px;
    }
    .compare-col.highlight {
      background: white;
      border-left: 4px solid var(--primary);
    }
    .compare-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
      font-weight: 500;
    }
    .check {
      color: var(--accent);
      font-weight: bold;
    }
    .cross {
      color: #D0D0D0;
      font-weight: bold;
    }
    @media (max-width: 768px) {
      .compare-wrapper {
        grid-template-columns: 1fr;
      }
      .compare-col.highlight {
        border-left: none;
        border-top: 4px solid var(--primary);
      }
    }

    /* FAQ */
    .faq-list {
      margin-top: 32px;
    }
    .faq-item {
      background: var(--surface);
      border-bottom: 1px solid var(--border-light);
      border-radius: 0;
      overflow: hidden;
    }
    .faq-question {
      padding: 20px 24px;
      font-weight: 500;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      background: transparent;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.4s ease;
      padding: 0 24px;
      color: var(--text-body);
    }
    .faq-item.active .faq-answer {
      max-height: 150px;
      padding: 0 24px 20px;
    }
    .faq-arrow {
      transition: transform 0.3s ease;
    }
    .faq-item.active .faq-arrow {
      transform: rotate(180deg);
    }

    /* CTA */
    .cta-dark {
      background: var(--secondary);
      background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 40px 40px;
      padding: 80px 0;
      text-align: center;
    }
    .cta-title {
      color: white;
      margin-bottom: 24px;
    }
    .cta-form {
      display: flex;
      max-width: 500px;
      margin: 0 auto;
      gap: 12px;
    }
    .cta-input {
      flex: 1;
      padding: 14px 20px;
      border-radius: var(--radius-btn);
      border: none;
      background: white;
      font-size: 1rem;
    }
    .privacy-note {
      color: var(--text-muted);
      font-size: 0.75rem;
      margin-top: 16px;
    }
    @media (max-width: 520px) {
      .cta-form {
        flex-direction: column;
        padding: 0 20px;
      }
    }

    /* Footer */
    .footer {
      background: var(--secondary);
      color: #B3B3B3;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    .footer-brand p {
      margin-top: 12px;
      font-size: 0.9rem;
    }
    .footer-links a {
      display: block;
      margin-bottom: 8px;
      color: #B3B3B3;
      transition: color 0.2s;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    .security-icons i {
      font-size: 1.5rem;
      margin-right: 12px;
      color: #8C8C8C;
    }
    .copyright {
      margin-top: 40px;
      border-top: 1px solid #333;
      padding-top: 20px;
      text-align: center;
      font-size: 0.85rem;
    }
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
    }
