/* roulang page: index */
:root {
      --primary: #1A5F7A;
      --primary-light: #E6F0F5;
      --accent: #0EA5E9;
      --accent-hover: #0284C7;
      --gold: #F59E0B;
      --gold-hover: #D97706;
      --bg: #F8FAFC;
      --card-bg: #FFFFFF;
      --text: #1E293B;
      --text-secondary: #64748B;
      --border: #E2E8F0;
      --footer-bg: #1E293B;
      --footer-text: #CBD5E1;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 6px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      --shadow-md: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
      --transition: 0.25s ease;
      --max-width: 1200px;
      --header-height: 64px;
      --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Inter", sans-serif;
      --font-mono: "SF Mono", "Roboto Mono", "Cascadia Code", monospace;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg);
    }

    body {
      font-family: var(--font-sans);
      font-size: 16px;
      font-weight: 400;
      line-height: 1.7;
      color: var(--text);
      background-color: var(--bg);
      -webkit-font-smoothing: antialiased;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all var(--transition);
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
    }

    /* 导航 */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      height: var(--header-height);
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 22px;
      color: var(--primary);
      letter-spacing: 0.5px;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
      background: var(--primary);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 800;
      font-size: 20px;
      line-height: 1;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: #475569;
      padding: 4px 0;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .nav-cta {
      background: var(--accent);
      color: white;
      padding: 8px 20px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      margin-left: 16px;
      white-space: nowrap;
    }

    .nav-cta:hover {
      background: var(--accent-hover);
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      width: 28px;
      height: 22px;
      justify-content: center;
    }

    .hamburger span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--text);
      border-radius: 4px;
      transition: 0.2s;
    }

    /* 首屏 Hero */
    .hero {
      background: white;
      padding: 60px 0 80px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .hero-content h1 {
      font-size: 44px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--text);
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    .hero-content .subtitle {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--accent);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      box-shadow: 0 4px 12px rgba(14,165,233,0.25);
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 12px 20px rgba(14,165,233,0.3);
    }

    .btn-outline {
      background: white;
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      border: 1.5px solid var(--primary);
      font-weight: 600;
      font-size: 16px;
    }

    .btn-outline:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
    }

    .hero-image {
      background: #F1F5F9;
      border-radius: 24px;
      padding: 20px;
      box-shadow: var(--shadow-md);
    }

    .hero-image img {
      border-radius: 16px;
    }

    .dashboard-card-mock {
      display: flex;
      justify-content: space-around;
      background: white;
      border-radius: 16px;
      padding: 16px;
      margin-top: 16px;
      box-shadow: var(--shadow-sm);
    }

    .mock-stat {
      text-align: center;
    }
    .mock-number {
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 22px;
      color: var(--primary);
    }

    /* 区块通用 */
    .section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }
    .section-title h2 {
      font-size: 32px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 12px;
    }
    .section-title p {
      font-size: 16px;
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
    }

    /* 指标看板 */
    .kpi-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .kpi-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 28px 24px;
      box-shadow: var(--shadow-sm);
      transition: 0.25s;
    }
    .kpi-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .kpi-value {
      font-family: var(--font-mono);
      font-size: 36px;
      font-weight: 700;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .trend-up { color: #10B981; font-size: 18px; }
    .kpi-label {
      font-size: 14px;
      color: var(--text-secondary);
      margin-top: 8px;
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      transition: 0.25s;
      display: flex;
      flex-direction: column;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .service-icon {
      width: 52px;
      height: 52px;
      background: #E0F2FE;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      color: var(--accent);
      margin-bottom: 20px;
      transition: 0.2s;
    }
    .service-card:hover .service-icon {
      background: var(--accent);
      color: white;
    }
    .service-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .service-desc {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 20px;
      flex: 1;
    }
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .tag {
      background: #F1F5F9;
      color: var(--text-secondary);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 500;
    }

    /* 对比 */
    .comparison-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      max-width: 900px;
      margin: 0 auto;
    }
    .compare-card {
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
    }
    .compare-before {
      background: #F1F5F9;
    }
    .compare-after {
      background: white;
      border: 1.5px solid var(--accent);
    }
    .compare-card h3 {
      font-size: 20px;
      margin-bottom: 16px;
    }
    .compare-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .compare-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 15px;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .faq-item {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      transition: 0.2s;
    }
    .faq-question {
      width: 100%;
      padding: 18px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 16px;
      background: transparent;
      text-align: left;
      color: var(--text);
    }
    .faq-answer {
      padding: 0 24px 18px;
      font-size: 15px;
      color: var(--text-secondary);
      display: none;
    }
    .faq-item.open .faq-answer {
      display: block;
    }
    .faq-item.open {
      border-color: var(--accent);
    }

    /* CTA */
    .cta-section {
      background: #EFF6F9;
      text-align: center;
      padding: 80px 20px;
    }
    .btn-gold {
      background: var(--gold);
      color: white;
      padding: 16px 40px;
      border-radius: var(--radius-btn);
      font-weight: 700;
      font-size: 18px;
      margin-top: 24px;
      animation: pulse 2s infinite;
    }
    .btn-gold:hover {
      background: var(--gold-hover);
      transform: scale(1.04);
    }
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
      70% { box-shadow: 0 0 0 15px rgba(245,158,11,0); }
      100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
    }

    /* Footer */
    .footer {
      background: var(--footer-bg);
      color: var(--footer-text);
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
    }
    .footer a:hover { color: var(--accent); }
    .copyright {
      border-top: 1px solid #334155;
      margin-top: 40px;
      padding-top: 20px;
      text-align: center;
      font-size: 14px;
    }

    /* 响应式 */
    @media (max-width: 1023px) {
      .hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .kpi-grid { grid-template-columns: repeat(2, 1fr); }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .comparison-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 767px) {
      .nav-menu { display: none; }
      .hamburger { display: flex; }
      .hero-content h1 { font-size: 28px; }
      .kpi-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .nav-cta.desktop { display: none; }
    }
