/* roulang page: index */
:root {
      --primary: #0B1D3A;
      --accent: #3A7BF7;
      --gold: #F5A623;
      --bg: #F8FAFC;
      --white: #FFFFFF;
      --text: #1E293B;
      --text-light: #64748B;
      --border: #E2E8F0;
      --gray-bg: #F1F5F9;
      --shadow-card: 0 4px 20px rgba(11,29,58,0.06);
      --shadow-hover: 0 8px 30px rgba(11,29,58,0.12);
      --radius-lg: 12px;
      --radius-md: 8px;
      --font-title: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-number: 'DIN Alternate', 'PingFang SC', sans-serif;
      --max-width: 1200px;
      --header-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s, background 0.2s;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 头部导航 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 1px 8px rgba(11,29,58,0.04);
      height: var(--header-height);
      display: flex;
      align-items: center;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: 1px;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: radial-gradient(circle at 30% 30%, #F5A623, #3A7BF7 80%);
      border-radius: 50%;
      position: relative;
      box-shadow: 0 0 12px rgba(58,123,247,0.5);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      list-style: none;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--text);
      position: relative;
      padding: 8px 0;
      font-size: 0.95rem;
      white-space: nowrap;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 7px;
      padding: 8px;
    }

    .mobile-toggle span {
      display: block;
      width: 26px;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
      transition: 0.2s;
    }

    /* 汉堡菜单动画 */
    #menu-check { display: none; }
    #menu-check:checked ~ .mobile-menu {
      display: flex;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--header-height);
      left: 0;
      width: 100%;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(12px);
      flex-direction: column;
      padding: 24px;
      gap: 20px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
      list-style: none;
      z-index: 45;
    }

    .mobile-menu a {
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--text);
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
    }

    /* 区块通用 */
    .section {
      padding: 80px 0;
    }

    @media (max-width: 768px) {
      .section {
        padding: 48px 0;
      }
      .desktop-nav {
        display: none;
      }
      .mobile-toggle {
        display: flex;
      }
    }

    /* 标题 */
    h1, h2, h3 {
      font-family: var(--font-title);
      font-weight: 700;
      letter-spacing: -0.3px;
    }

    h1 {
      font-size: 2.6rem;
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
      color: var(--primary);
    }

    /* 按钮 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 32px;
      border-radius: var(--radius-md);
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: all 0.25s;
      cursor: pointer;
      border: none;
      font-size: 1rem;
      gap: 8px;
    }

    .btn-primary {
      background: var(--accent);
      color: white;
      box-shadow: 0 4px 14px rgba(58,123,247,0.2);
    }

    .btn-primary:hover {
      background: #2563EB;
      box-shadow: 0 0 18px rgba(58,123,247,0.45);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--accent);
      color: var(--accent);
    }

    .btn-outline:hover {
      background: rgba(58,123,247,0.08);
    }

    .btn-gold {
      background: var(--gold);
      color: #0B1D3A;
      font-weight: 700;
      padding: 16px 36px;
    }

    .btn-gold:hover {
      background: #E09510;
      box-shadow: 0 8px 22px rgba(245,166,35,0.4);
    }

    /* Hero */
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      min-height: 550px;
    }

    .hero-text h1 {
      font-size: 2.8rem;
    }

    .hero-desc {
      font-size: 1.1rem;
      color: var(--text-light);
      margin: 24px 0 32px;
      max-width: 90%;
    }

    .hero-visual {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: var(--radius-lg);
      min-height: 400px;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }

    .star-particle {
      position: absolute;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    @keyframes drift {
      0% { transform: translateY(0) scale(1); opacity: 0.2; }
      50% { opacity: 0.7; }
      100% { transform: translateY(-30px) scale(0.9); opacity: 0; }
    }

    .dot {
      position: absolute;
      width: 3px;
      height: 3px;
      background: white;
      border-radius: 50%;
      animation: drift 5s infinite alternate;
      opacity: 0.5;
    }

    /* 解决方案 */
    .solution-block {
      display: flex;
      gap: 48px;
      align-items: center;
      margin-bottom: 80px;
    }

    .solution-block.reverse {
      flex-direction: row-reverse;
    }

    .solution-img {
      flex: 1;
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--gray-bg);
    }

    .solution-img img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }

    .solution-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .solution-content h3 {
      font-size: 1.6rem;
      color: var(--primary);
    }

    /* 成果数据 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 32px;
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-number);
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--gold);
    }

    .stat-label {
      color: var(--text-light);
      font-weight: 500;
    }

    /* 证言 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .quote-card {
      background: var(--gray-bg);
      border-radius: var(--radius-lg);
      padding: 32px;
      position: relative;
    }

    .quote-mark {
      position: absolute;
      top: 20px;
      left: 20px;
      font-size: 4rem;
      color: var(--gold);
      line-height: 1;
      opacity: 0.5;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border);
    }

    .faq-question {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      padding: 20px; 
      font-weight: 600;
      font-size: 1.05rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--text);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      background: var(--white);
      padding: 0 20px;
    }

    .faq-item.active .faq-answer {
      max-height: 180px;
      padding: 0 20px 20px;
    }

    /* CTA 底部 */
    .cta-section {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      background: var(--primary);
      color: #94A3B8;
      padding: 60px 0 30px;
      font-size: 0.95rem;
    }

    .footer-brand p {
      margin-top: 12px;
    }

    .footer-links a {
      display: block;
      margin-bottom: 10px;
      color: #94A3B8;
    }
    .footer-links a:hover { color: white; }

    .copyright {
      border-top: 1px solid #2D3A52;
      padding-top: 24px;
      text-align: center;
      color: var(--text-light);
      font-size: 0.85rem;
      grid-column: span 4;
    }

    @media (max-width: 768px) {
      .hero-grid, .stats-grid, .testimonial-grid, .footer-grid {
        grid-template-columns: 1fr;
      }
      .stats-grid {
        grid-template-columns: 1fr 1fr;
      }
      .solution-block, .solution-block.reverse {
        flex-direction: column;
      }
      h1 { font-size: 1.8rem; }
    }
