/* roulang page: index */
:root {
      --green-deep: #0A5E2A;
      --tactical-black: #1A1A1A;
      --amber-data: #F0A500;
      --bg-light: #F5F6F8;
      --white: #FFFFFF;
      --card-shadow: 0 2px 8px rgba(0,0,0,0.04);
      --card-shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
      --border-light: #E0E3E8;
      --text-primary: #1A1A1A;
      --text-secondary: #5A5E66;
      --text-muted: #B0B5BD;
      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-lg: 20px;
      --transition-fast: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1.2);
      --font-mono: "SF Mono","Menlo","Consolas","Monaco",monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;
      background-color: var(--bg-light);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition-fast);
    }

    button, input, textarea {
      font-family: inherit;
      outline: none;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 覆盖Foundation默认蓝色与圆角 */
    .button {
      border-radius: var(--radius-sm);
      font-weight: 600;
      transition: all var(--transition-fast);
      background-color: var(--green-deep);
      color: white;
      padding: 12px 28px;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      line-height: 1.2;
    }
    .button.secondary {
      background-color: transparent;
      border: 1.5px solid var(--green-deep);
      color: var(--green-deep);
    }
    .button.amber {
      background-color: var(--amber-data);
      color: #1A1A1A;
      font-weight: 700;
      border: none;
      position: relative;
      overflow: hidden;
    }
    .button.amber::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.5s;
    }
    .button.amber:hover::after {
      left: 100%;
    }
    .button:hover {
      filter: brightness(0.9);
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    /* 导航卡片化 */
    #header {
      position: fixed;
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 1200px;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(8px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
      border-radius: 16px;
      padding: 8px 24px;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid rgba(224,227,232,0.5);
    }
    .brand {
      font-weight: 700;
      font-size: 24px;
      color: var(--green-deep);
      letter-spacing: 1px;
      white-space: nowrap;
    }
    .nav-icons {
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .nav-icon-item {
      width: 48px;
      height: 48px;
      background: #F5F6F8;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      transition: all var(--transition-fast);
      font-size: 20px;
    }
    .nav-icon-item:hover {
      background: var(--green-deep);
      color: white;
    }
    .cta-nav {
      background: var(--amber-data);
      color: #1A1A1A;
      font-weight: 700;
      padding: 10px 24px;
      border-radius: var(--radius-lg);
      font-size: 16px;
      transition: all var(--transition-fast);
      white-space: nowrap;
      border: none;
      cursor: pointer;
    }
    .cta-nav:hover {
      box-shadow: 0 6px 18px rgba(240,165,0,0.4);
      transform: translateY(-1px);
    }

    /* Hero数据网格背景 */
    #hero {
      min-height: 90vh;
      background-color: var(--bg-light);
      background-image: linear-gradient(var(--border-light) 1px, transparent 1px), linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
      background-size: 60px 60px;
      display: flex;
      align-items: center;
      padding-top: 100px;
      position: relative;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .hero-dashboard {
      background: white;
      border-radius: 24px;
      padding: 32px;
      box-shadow: var(--card-shadow);
      border: 1px solid rgba(224,227,232,0.6);
    }
    .data-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #f0f2f5;
      font-size: 15px;
    }
    .pulse-dot {
      width: 10px;
      height: 10px;
      background: var(--amber-data);
      border-radius: 50%;
      display: inline-block;
      margin-right: 8px;
      animation: pulse 1.8s infinite;
    }
    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.2); }
      100% { opacity: 1; transform: scale(1); }
    }
    .counter {
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 28px;
      color: var(--amber-data);
    }
    .hero-title {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 24px;
    }
    .hero-sub {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* 板块通用 */
    section {
      padding: 100px 0;
    }
    .section-title {
      font-size: 36px;
      font-weight: 600;
      margin-bottom: 16px;
    }
    .section-desc {
      color: var(--text-secondary);
      max-width: 700px;
      margin-bottom: 48px;
    }

    /* 指标卡片网格 */
    .dashboard-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .metric-card {
      background: white;
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: var(--card-shadow);
      transition: all var(--transition-fast);
      border: 1px solid rgba(224,227,232,0.3);
    }
    .metric-card:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-4px);
    }
    .mini-chart {
      height: 40px;
      background: linear-gradient(90deg, #0A5E2A20, #0A5E2A60);
      border-radius: 4px;
      margin: 12px 0;
      display: flex;
      align-items: flex-end;
    }

    /* 服务矩阵不对称 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .service-card {
      background: white;
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: var(--card-shadow);
      transition: all var(--transition-fast);
      border: 1px solid transparent;
    }
    .service-card:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-4px);
    }
    .service-card.large {
      grid-column: span 2;
      display: flex;
      align-items: center;
      gap: 24px;
    }
    .service-icon {
      width: 48px;
      height: 48px;
      background: #F0F7F2;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--green-deep);
      font-size: 24px;
      margin-bottom: 16px;
    }
    .service-card.large .service-icon {
      margin-bottom: 0;
      width: 64px;
      height: 64px;
    }
    .arrow-link {
      color: var(--green-deep);
      font-weight: 600;
      margin-top: 12px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* 对比表 */
    .comparison-table {
      background: white;
      border-radius: 16px;
      overflow-x: auto;
      box-shadow: var(--card-shadow);
    }
    .comp-row {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      border-bottom: 1px solid #f0f2f5;
    }
    .comp-cell {
      padding: 18px 24px;
      font-size: 15px;
    }
    .highlight-col {
      background: #F0F7F2;
      border-left: 3px solid var(--green-deep);
    }
    .check-icon {
      color: var(--green-deep);
      font-weight: bold;
    }

    /* FAQ手风琴 */
    .faq-layout {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 32px;
    }
    .faq-tags {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .faq-tag {
      padding: 12px 16px;
      border-radius: 20px;
      background: #f0f2f5;
      font-weight: 500;
      cursor: pointer;
      transition: all var(--transition-fast);
      border: 1px solid transparent;
    }
    .faq-tag.active {
      background: var(--green-deep);
      color: white;
    }
    .accordion-item {
      background: white;
      border-radius: var(--radius-md);
      margin-bottom: 12px;
      box-shadow: var(--card-shadow);
    }
    .accordion-title {
      padding: 18px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      user-select: none;
    }
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, opacity 0.3s;
      opacity: 0;
      background: #f9fafb;
      padding: 0 24px;
    }
    .accordion-item.active .accordion-content {
      max-height: 200px;
      opacity: 1;
      padding: 20px 24px;
    }

    /* 表单 */
    .contact-wrapper {
      background: var(--tactical-black);
      border-radius: 24px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      padding: 48px;
      color: white;
    }
    .input-underline {
      background: transparent;
      border: none;
      border-bottom: 2px solid #4a4f58;
      padding: 12px 0;
      width: 100%;
      color: white;
      font-size: 16px;
      transition: border 0.2s;
    }
    .input-underline:focus {
      border-bottom: 3px solid var(--green-deep);
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      padding: 60px 0;
      color: #B0B5BD;
    }

    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .dashboard-cards { grid-template-columns: 1fr 1fr; }
      .services-grid { grid-template-columns: 1fr 1fr; }
      .service-card.large { grid-column: span 2; }
    }
    @media (max-width: 768px) {
      #header { top: auto; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; background: white; }
      .nav-icons { gap: 8px; }
      .nav-icon-item { width: 40px; height: 40px; }
      .hero-title { font-size: 32px; }
      .dashboard-cards { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .service-card.large { grid-column: span 1; flex-direction: column; }
      .faq-layout { grid-template-columns: 1fr; }
      .contact-wrapper { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
