/* roulang page: index */
:root {
      --primary: #0F52BA;
      --primary-hover: #0b3d8f;
      --accent: #00A86B;
      --dark-bg: #0A192F;
      --page-bg: #F8FAFC;
      --surface: #FFFFFF;
      --text-main: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
      --shadow-lg: 0 20px 25px -5px rgba(15, 82, 186, 0.08), 0 8px 10px -6px rgba(15, 82, 186, 0.04);
      --transition: all 0.28s ease-in-out;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background-color: var(--page-bg);
      color: var(--text-body);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
    }

    a { text-decoration: none; color: inherit; transition: var(--transition); }
    img { max-width: 100%; height: auto; display: block; }
    ul { list-style: none; margin: 0; padding: 0; }
    h1, h2, h3, h4, h5, h6 { color: var(--text-main); font-weight: 700; line-height: 1.3; }

    /* Layout Containers */
    .site-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }
    .section-wrap {
      padding: 5rem 0;
      position: relative;
    }
    .section-wrap.alt-bg {
      background-color: #FFFFFF;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .section-wrap.dark-theme {
      background-color: var(--dark-bg);
      color: #E2E8F0;
    }
    .section-wrap.dark-theme h2,
    .section-wrap.dark-theme h3,
    .section-wrap.dark-theme h4 {
      color: #FFFFFF;
    }

    /* Header & Nav */
    .top-bar-sub {
      background-color: #F1F5F9;
      font-size: 0.8125rem;
      color: var(--text-muted);
      padding: 0.45rem 0;
      border-bottom: 1px solid var(--border-color);
    }
    .top-bar-sub .flex-between {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
    }
    .nav-bar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--primary);
    }
    .brand-logo i { font-size: 1.5rem; }
    .nav-menu {
      display: flex;
      gap: 1.75rem;
    }
    .nav-menu a {
      font-size: 0.9375rem;
      font-weight: 500;
      color: var(--text-body);
      position: relative;
      padding: 0.35rem 0;
    }
    .nav-menu a:hover { color: var(--primary); }
    .nav-menu a.active { color: var(--primary); font-weight: 600; }
    .nav-cta-group {
      display: flex;
      gap: 0.75rem;
      align-items: center;
    }

    /* Buttons & Badges */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.65rem 1.35rem;
      border-radius: var(--radius-sm);
      font-size: 0.9375rem;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
    }
    .btn-primary {
      background-color: var(--primary);
      color: #FFFFFF;
      box-shadow: 0 4px 10px rgba(15, 82, 186, 0.25);
    }
    .btn-primary:hover {
      background-color: var(--primary-hover);
      color: #FFFFFF;
      transform: translateY(-2px);
    }
    .btn-outline {
      background-color: #FFFFFF;
      color: var(--primary);
      border-color: var(--primary);
    }
    .btn-outline:hover {
      background-color: #EFF6FF;
      color: var(--primary-hover);
    }
    .btn-accent {
      background-color: var(--accent);
      color: #FFFFFF;
    }
    .btn-accent:hover {
      background-color: #008f5b;
      color: #FFFFFF;
      transform: translateY(-2px);
    }
    .pill-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      background: #EFF6FF;
      color: var(--primary);
      padding: 0.3rem 0.85rem;
      border-radius: 999px;
      font-size: 0.8125rem;
      font-weight: 600;
      margin-bottom: 1rem;
      border: 1px solid #DBEAFE;
    }
    .pill-badge i { font-size: 0.75rem; }

    /* Section Headers */
    .section-head {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 3.5rem;
    }
    .section-head h2 {
      font-size: 2.15rem;
      margin-bottom: 0.85rem;
      letter-spacing: -0.02em;
    }
    .section-head p {
      font-size: 1rem;
      color: var(--text-muted);
    }

    /* Cards System */
    .feature-card {
      background: var(--surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 2rem;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      height: 100%;
    }
    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: #BFDBFE;
    }

    /* Hero Section - Before/After Comparison Blueprint */
    .hero-section {
      padding: 5rem 0 5.5rem;
      background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
      border-bottom: 1px solid var(--border-color);
    }
    .hero-split-box {
      background: #FFFFFF;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
      overflow: hidden;
      margin-top: 2.5rem;
    }
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .compare-side {
      padding: 2.5rem;
      position: relative;
    }
    .compare-side.legacy {
      background-color: #FAFAFA;
      border-right: 1px solid var(--border-color);
    }
    .compare-side.modern {
      background-color: #FFFFFF;
    }
    .compare-tag {
      display: inline-block;
      font-size: 0.8125rem;
      font-weight: 700;
      padding: 0.25rem 0.65rem;
      border-radius: var(--radius-sm);
      margin-bottom: 1rem;
    }
    .tag-legacy { background: #FEE2E2; color: #DC2626; }
    .tag-modern { background: #DCFCE7; color: #16A34A; }

    /* Pain Points */
    .pain-card {
      background: var(--surface);
      border: 1px solid var(--border-color);
      border-top: 3px solid #EF4444;
      border-radius: var(--radius-md);
      padding: 1.75rem;
      box-shadow: var(--shadow-sm);
      height: 100%;
    }
    .pain-header {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #DC2626;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }
    .pain-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
    .pain-card p { font-size: 0.875rem; color: var(--text-muted); }
    .pain-sol {
      margin-top: 1.25rem;
      padding-top: 1rem;
      border-top: 1px dashed var(--border-color);
      font-size: 0.85rem;
      color: var(--primary);
      display: flex;
      align-items: flex-start;
      gap: 0.4rem;
    }

    /* Product Lines Matrix */
    .prod-card {
      background: var(--surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
      position: relative;
      transition: var(--transition);
    }
    .prod-card:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
    }
    .prod-card.featured {
      border: 2px solid var(--primary);
    }
    .prod-ribbon {
      position: absolute;
      top: 14px;
      right: 14px;
      background: var(--primary);
      color: #FFFFFF;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
    }
    .prod-body { padding: 2rem; flex: 1; }
    .prod-specs {
      margin: 1.5rem 0;
      border-top: 1px solid var(--border-color);
      padding-top: 1.25rem;
    }
    .prod-specs li {
      font-size: 0.875rem;
      margin-bottom: 0.6rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--text-body);
    }
    .prod-specs li i { color: var(--accent); }

    /* Workflow Timeline */
    .step-item {
      position: relative;
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 1.75rem;
      box-shadow: var(--shadow-sm);
      height: 100%;
    }
    .step-badge {
      width: 44px;
      height: 44px;
      background: #EFF6FF;
      color: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.15rem;
      margin-bottom: 1.25rem;
      border: 1px solid #BFDBFE;
    }

    /* Data Metrics Bar */
    .metrics-bar {
      background: #FFFFFF;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 3.5rem 0;
    }
    .metric-col {
      text-align: center;
      border-right: 1px solid var(--border-color);
    }
    .metric-col:last-child { border-right: none; }
    .metric-val {
      font-size: 2.85rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    .metric-lbl {
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 0.25rem;
    }
    .metric-sub {
      font-size: 0.8125rem;
      color: var(--text-muted);
    }

    /* Specifications Table */
    .spec-table-box {
      background: #FFFFFF;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      overflow-x: auto;
      box-shadow: var(--shadow-sm);
    }
    .custom-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.9375rem;
    }
    .custom-table th, .custom-table td {
      padding: 1.15rem 1.5rem;
      border-bottom: 1px solid var(--border-color);
    }
    .custom-table th {
      background: #F8FAFC;
      font-weight: 700;
      color: var(--text-main);
    }
    .custom-table tr:last-child td { border-bottom: none; }

    /* Testimonials */
    .quote-card {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 2rem;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }
    .quote-stars { color: #F59E0B; margin-bottom: 1rem; font-size: 0.85rem; }
    .quote-author {
      margin-top: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .author-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #E2E8F0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--primary);
    }

    /* News Cards */
    .news-card {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .news-card:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-3px);
    }
    .news-card img { height: 190px; width: 100%; object-fit: cover; }
    .news-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .news-date { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.5rem; }
    .news-title { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--text-main); line-height: 1.4; }

    /* FAQ */
    .faq-container {
      max-width: 840px;
      margin: 0 auto;
    }
    .faq-item {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      margin-bottom: 1rem;
      overflow: hidden;
    }
    .faq-q {
      padding: 1.25rem 1.5rem;
      font-weight: 700;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-a {
      padding: 0 1.5rem 1.25rem 1.5rem;
      color: var(--text-body);
      font-size: 0.9375rem;
      line-height: 1.7;
    }

    /* Lead Form CTA */
    .cta-lead-box {
      background: linear-gradient(135deg, #0F52BA 0%, #0A367D 100%);
      border-radius: var(--radius-lg);
      padding: 3.5rem 2.5rem;
      color: #FFFFFF;
      box-shadow: 0 20px 35px rgba(15, 82, 186, 0.25);
    }
    .cta-form {
      background: #FFFFFF;
      padding: 2rem;
      border-radius: var(--radius-md);
      color: var(--text-body);
    }
    .form-group { margin-bottom: 1.15rem; }
    .form-group label {
      display: block;
      font-size: 0.875rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
      color: var(--text-main);
    }
    .form-input {
      width: 100%;
      padding: 0.65rem 0.85rem;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-size: 0.9375rem;
      outline: none;
      transition: var(--transition);
    }
    .form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.15); }

    /* Footer */
    .site-footer {
      background: #060D17;
      color: #94A3B8;
      padding: 4.5rem 0 2rem;
      border-top: 1px solid #1E293B;
      font-size: 0.875rem;
    }
    .footer-col h4 {
      color: #FFFFFF;
      font-size: 1rem;
      margin-bottom: 1.25rem;
      font-weight: 700;
    }
    .footer-col ul li { margin-bottom: 0.6rem; }
    .footer-col ul li a:hover { color: #FFFFFF; }
    .footer-bottom {
      margin-top: 3.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid #1E293B;
      text-align: center;
      font-size: 0.8125rem;
    }

    /* Responsive */
    @media (max-width: 1023px) {
      .compare-grid { grid-template-columns: 1fr; }
      .compare-side.legacy { border-right: none; border-bottom: 1px solid var(--border-color); }
      .nav-menu { display: none; }
      .metric-col { border-right: none; border-bottom: 1px solid var(--border-color); padding: 1rem 0; }
      .metric-col:last-child { border-bottom: none; }
    }
    @media (max-width: 639px) {
      .section-wrap { padding: 3.5rem 0; }
      .top-bar-sub { display: none; }
      .cta-lead-box { padding: 2rem 1.25rem; }
      .compare-side { padding: 1.5rem; }
      .section-head h2 { font-size: 1.75rem; }
    }
