/* roulang page: index */
:root {
      --primary: #1A5F7A;
      --primary-dark: #0E4A63;
      --secondary: #2D9CDB;
      --accent: #F2994A;
      --accent-dark: #E0852E;
      --bg: #F8FAFC;
      --card-bg: #FFFFFF;
      --card-hover-bg: #F0F4F8;
      --text-heading: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --border-light: #E2E8F0;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --radius-large: 16px;
      --shadow-card: 0 4px 12px rgba(26, 95, 122, 0.08);
      --shadow-card-hover: 0 8px 24px rgba(26, 95, 122, 0.12);
      --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --transition-fast: 0.2s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg);
      color: var(--text-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      transition: var(--transition-fast);
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 PC 端 */
    #main-nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      height: 64px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--border-light);
      padding: 0 24px;
    }
    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--primary);
    }
    .nav-logo i {
      font-size: 1.5rem;
      color: var(--secondary);
    }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-links a {
      font-weight: 500;
      color: var(--text-body);
      position: relative;
      padding: 4px 0;
      transition: color var(--transition-fast);
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--secondary);
      border-radius: 2px;
    }
    .mobile-nav {
      display: none;
    }

    /* 板块通用间距 */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 2rem;
      font-weight: 700;
      color: var(--text-heading);
      text-align: center;
      margin-bottom: 16px;
    }
    .section-subtitle {
      font-size: 1.125rem;
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 48px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Hero */
    #hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      padding: 0 24px;
    }
    #hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(90deg, rgba(26,95,122,0.85) 0%, rgba(248,250,252,0) 70%);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 600px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .hero-content h1 {
      font-size: 3rem;
      font-weight: 700;
      color: white;
      line-height: 1.2;
    }
    .hero-subtitle {
      font-size: 1.25rem;
      color: rgba(255,255,255,0.9);
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1rem;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .btn-primary:hover {
      background: var(--accent-dark);
      transform: translateY(-2px);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid white;
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1rem;
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.15);
    }
    .hero-mockup {
      position: absolute;
      right: 5%;
      bottom: 0;
      width: 320px;
      z-index: 1;
      filter: drop-shadow(0 20px 25px rgba(0,0,0,0.2));
    }

    /* 痛点卡片 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .pain-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      text-align: center;
      transition: all var(--transition-fast);
    }
    .pain-card:hover {
      background: var(--card-hover-bg);
      transform: translateY(-4px);
      box-shadow: var(--shadow-card-hover);
    }
    .pain-icon {
      font-size: 2.5rem;
      color: var(--secondary);
      margin-bottom: 16px;
      transition: transform 0.3s;
    }
    .pain-card:hover .pain-icon {
      transform: scale(1.1);
    }
    .pain-card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-heading);
      margin-bottom: 8px;
    }

    /* 解决方案网格 */
    .solution-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .solution-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: all var(--transition-fast);
    }
    .solution-card:hover {
      box-shadow: var(--shadow-card-hover);
      transform: translateY(-4px);
    }
    .solution-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      transition: filter 0.3s;
    }
    .solution-card:hover img {
      filter: saturate(1.2);
    }
    .solution-card-body {
      padding: 20px;
    }
    .solution-card h3 {
      font-weight: 600;
      color: var(--text-heading);
      margin-bottom: 8px;
    }
    .solution-card .more-link {
      color: var(--secondary);
      font-weight: 500;
      margin-top: 12px;
      display: inline-block;
    }

    /* 流程 */
    .steps {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      text-align: center;
      position: relative;
    }
    .step-item {
      flex: 1;
      padding: 0 16px;
      position: relative;
    }
    .step-number {
      font-size: 4rem;
      font-weight: 700;
      color: rgba(45,156,219,0.15);
      line-height: 1;
      margin-bottom: 8px;
    }
    .step-title {
      font-weight: 600;
      color: var(--text-heading);
      margin: 8px 0;
    }
    .step-desc {
      color: var(--text-muted);
    }
    .step-connector {
      position: absolute;
      top: 40px;
      left: 60%;
      width: 80%;
      border-top: 2px dashed var(--secondary);
      opacity: 0.5;
      z-index: -1;
    }

    /* 数据 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      text-align: center;
    }
    .stat-item {
      background: white;
      border-radius: var(--radius-large);
      padding: 32px;
      box-shadow: var(--shadow-card);
    }
    .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--accent);
      font-variant-numeric: tabular-nums;
    }
    .progress-bar {
      height: 8px;
      background: #E2E8F0;
      border-radius: 4px;
      margin: 16px 0;
      overflow: hidden;
    }
    .progress-fill {
      height: 100%;
      background: var(--accent);
      border-radius: 4px;
      width: 0%;
    }

    /* 证言 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .testimonial-card {
      background: #F1F5F9;
      border-radius: var(--radius-card);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .testimonial-user {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .testimonial-user img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
    }
    .stars {
      color: var(--secondary);
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }
    .faq-question {
      width: 100%;
      padding: 20px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      color: var(--text-heading);
      background: transparent;
      border: none;
      font-size: 1.1rem;
      text-align: left;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-body);
      padding: 0 0;
    }
    .faq-item.open .faq-answer {
      max-height: 150px;
      padding-bottom: 20px;
    }
    .faq-icon {
      color: var(--secondary);
    }

    /* CTA */
    #cta-final {
      background: linear-gradient(135deg, #1A5F7A 0%, #2D9CDB 100%);
      color: white;
      text-align: center;
    }
    .store-buttons {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      margin-top: 32px;
    }
    .store-btn {
      background: white;
      color: var(--text-heading);
      padding: 12px 28px;
      border-radius: 40px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
      transition: all 0.2s;
    }
    .store-btn:hover {
      background: #F1F5F9;
      box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
    }

    /* footer */
    #footer {
      background: #0F172A;
      color: #CBD5E1;
      padding: 40px 0;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 32px;
    }
    .footer-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.25rem;
      color: white;
    }

    /* 移动端 */
    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-light);
        justify-content: space-around;
        padding: 8px 0;
        z-index: 100;
      }
      .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 0.75rem;
        color: var(--text-muted);
        padding: 4px 12px;
        border-radius: 20px;
      }
      .mobile-nav a.active {
        background: var(--secondary);
        color: white;
      }
      #main-nav {
        height: 56px;
      }
      .hero-content h1 {
        font-size: 2rem;
      }
      .hero-mockup {
        width: 200px;
        right: 0;
      }
      .pain-grid, .solution-grid, .testimonial-grid, .footer-grid {
        grid-template-columns: 1fr;
      }
      .steps {
        flex-direction: column;
        align-items: center;
      }
      .step-connector {
        display: none;
      }
      .stats-grid {
        grid-template-columns: 1fr;
      }
    }
