/* roulang page: index */
:root {
      --primary-dark: #111827;
      --secondary-dark: #1e293b;
      --text-main: #334155;
      --text-muted: #64748b;
      --accent-cyan: #0ea5e9;
      --accent-blue: #2563eb;
      --accent-hover: #0284c7;
      --bg-light: #f8fafc;
      --bg-white: #ffffff;
      --card-border: rgba(226, 232, 240, 0.9);
      --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --glow-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.15);
      --radius: 6px;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-light);
      color: var(--text-main);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    .site-header {
      height: 70px;
      background-color: var(--primary-dark);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      position: sticky;
      top: 0;
      z-index: 1040;
    }
    .brand-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: #f8fafc;
      letter-spacing: 0.5px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }
    .brand-badge {
      font-size: 0.72rem;
      background: rgba(14, 165, 233, 0.2);
      color: var(--accent-cyan);
      border: 1px solid rgba(14, 165, 233, 0.4);
      padding: 2px 7px;
      border-radius: 4px;
      font-weight: 600;
    }
    .btn-custom-cyan {
      background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
      color: #ffffff !important;
      font-weight: 600;
      border: none;
      border-radius: var(--radius);
      padding: 8px 18px;
      font-size: 0.92rem;
      transition: all 0.25s ease;
      box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    }
    .btn-custom-cyan:hover {
      background: linear-gradient(135deg, #0284c7, #1d4ed8);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
    }
    .btn-custom-outline {
      background: transparent;
      color: #ffffff !important;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: var(--radius);
      padding: 8px 18px;
      font-size: 0.92rem;
      font-weight: 500;
      transition: all 0.25s ease;
    }
    .btn-custom-outline:hover {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan) !important;
      background: rgba(14, 165, 233, 0.08);
    }
    .btn-nav-trigger {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #f8fafc;
      width: 42px;
      height: 42px;
      border-radius: var(--radius);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      transition: all 0.2s ease;
    }
    .btn-nav-trigger:hover {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
    }
    .offcanvas {
      background-color: var(--primary-dark);
      color: #f8fafc;
      border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .offcanvas .btn-close {
      filter: invert(1) grayscale(100%) brightness(200%);
    }
    .drawer-nav-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px;
      margin-bottom: 8px;
      border-radius: var(--radius);
      color: #cbd5e1;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      transition: all 0.25s ease;
    }
    .drawer-nav-item:hover, .drawer-nav-item.active {
      background: rgba(14, 165, 233, 0.15);
      color: #ffffff;
      border-color: var(--accent-cyan);
    }
    .hero-section {
      position: relative;
      background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
      color: #ffffff;
      padding: 85px 0 80px;
      overflow: hidden;
    }
    .hero-bg-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('/assets/images/cd4fe0f89300b2eb.jpg');
      background-size: cover;
      background-position: center;
      opacity: 0.12;
      pointer-events: none;
    }
    .hero-h1 {
      font-size: 2.45rem;
      font-weight: 800;
      line-height: 1.35;
      margin-bottom: 20px;
      color: #ffffff;
      letter-spacing: -0.5px;
    }
    .hero-desc {
      font-size: 1.05rem;
      line-height: 1.85;
      color: #94a3b8;
      margin-bottom: 30px;
    }
    .voucher-card-main {
      background: #1e293b;
      border: 1px solid rgba(14, 165, 233, 0.35);
      border-radius: 8px;
      padding: 24px;
      position: relative;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    }
    .voucher-ribbon {
      position: absolute;
      top: 12px;
      right: 12px;
      background: rgba(14, 165, 233, 0.2);
      color: var(--accent-cyan);
      border: 1px solid var(--accent-cyan);
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 700;
    }
    .voucher-val {
      font-size: 2.2rem;
      font-weight: 800;
      color: #38bdf8;
      line-height: 1.1;
    }
    .spec-block {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 6px;
      padding: 12px 16px;
      margin-top: 16px;
    }
    .section-padding {
      padding: 75px 0;
    }
    .section-title {
      font-size: 1.95rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 14px;
      letter-spacing: -0.3px;
    }
    .section-intro {
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 40px;
    }
    .craft-card {
      background: var(--bg-white);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 26px 24px;
      height: 100%;
      transition: all 0.3s ease;
      position: relative;
    }
    .craft-card:hover {
      border-color: var(--accent-cyan);
      box-shadow: var(--glow-shadow);
      transform: translateY(-2px);
    }
    .craft-icon {
      width: 48px;
      height: 48px;
      background: rgba(14, 165, 233, 0.1);
      color: var(--accent-cyan);
      border-radius: var(--radius);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 18px;
    }
    .craft-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 12px;
    }
    .craft-card p {
      font-size: 0.94rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 0;
    }
    .badge-feature {
      font-size: 0.78rem;
      background: #f1f5f9;
      color: #475569;
      border-radius: 4px;
      padding: 3px 8px;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 12px;
    }
    .badge-primary-custom {
      background: #e0f2fe;
      color: #0369a1;
      border: 1px solid #bae6fd;
    }
    .price-col {
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: 8px;
      padding: 32px 26px;
      height: 100%;
      position: relative;
      transition: all 0.3s ease;
    }
    .price-col.featured {
      border: 2px solid var(--accent-cyan);
      box-shadow: var(--glow-shadow);
      transform: scale(1.02);
    }
    .price-num {
      font-size: 2.3rem;
      font-weight: 800;
      color: var(--primary-dark);
    }
    .price-num small {
      font-size: 0.9rem;
      color: var(--text-muted);
      font-weight: 400;
    }
    .plan-features {
      list-style: none;
      padding: 0;
      margin: 24px 0;
    }
    .plan-features li {
      font-size: 0.92rem;
      color: #475569;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .plan-features li i {
      color: var(--accent-cyan);
    }
    .stat-counter-box {
      border-right: 1px solid rgba(226, 232, 240, 0.8);
      padding: 20px 15px;
      text-align: center;
    }
    .stat-counter-box:last-child {
      border-right: none;
    }
    .stat-val {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--primary-dark);
      letter-spacing: -0.5px;
    }
    .stat-label {
      font-size: 0.88rem;
      color: var(--text-muted);
      margin-top: 4px;
    }
    .img-showcase-box {
      border-radius: 6px;
      overflow: hidden;
      border: 1px solid var(--card-border);
      background: #ffffff;
      height: 100%;
    }
    .img-showcase-box img {
      width: 100%;
      height: 210px;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .img-showcase-box:hover img {
      transform: scale(1.03);
    }
    .img-content-area {
      padding: 20px;
    }
    .faq-accordion .accordion-item {
      border: 1px solid var(--card-border);
      margin-bottom: 12px;
      border-radius: var(--radius) !important;
      overflow: hidden;
    }
    .faq-accordion .accordion-button {
      background-color: #ffffff;
      color: var(--primary-dark);
      font-weight: 600;
      font-size: 1.02rem;
      padding: 18px 22px;
      box-shadow: none !important;
    }
    .faq-accordion .accordion-button:not(.collapsed) {
      background-color: #f8fafc;
      color: var(--accent-cyan);
    }
    .faq-accordion .accordion-body {
      background-color: #ffffff;
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.8;
      padding: 20px 22px;
      border-top: 1px solid var(--card-border);
    }
    .cta-dark-band {
      background: #0f172a;
      color: #ffffff;
      border-radius: 10px;
      padding: 50px 40px;
      position: relative;
      overflow: hidden;
    }
    .cta-dark-band::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(14, 165, 233, 0) 70%);
      pointer-events: none;
    }
    .site-footer {
      background-color: var(--primary-dark);
      color: #94a3b8;
      padding: 50px 0 25px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.9rem;
    }
    .footer-heading {
      color: #ffffff;
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 18px;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a:hover {
      color: var(--accent-cyan);
    }
    .copyright-bar {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      margin-top: 40px;
      padding-top: 22px;
      font-size: 0.82rem;
      color: #64748b;
    }
    @media (max-width: 991px) {
      .hero-h1 {
        font-size: 1.95rem;
      }
      .stat-counter-box {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
      }
      .stat-counter-box:last-child {
        border-bottom: none;
      }
      .price-col.featured {
        transform: none;
        margin: 20px 0;
      }
    }

/* roulang page: category1 */
:root {
      --primary-dark: #111827;
      --secondary-dark: #1e293b;
      --text-main: #334155;
      --text-muted: #64748b;
      --accent-cyan: #0ea5e9;
      --accent-blue: #2563eb;
      --accent-hover: #0284c7;
      --bg-light: #f8fafc;
      --bg-white: #ffffff;
      --card-border: rgba(226, 232, 240, 0.9);
      --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --glow-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.15);
      --radius: 6px;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-light);
      color: var(--text-main);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    .site-header {
      height: 70px;
      background-color: var(--primary-dark);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      position: sticky;
      top: 0;
      z-index: 1040;
    }
    .brand-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: #f8fafc;
      letter-spacing: 0.5px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }
    .brand-badge {
      font-size: 0.72rem;
      background: rgba(14, 165, 233, 0.2);
      color: var(--accent-cyan);
      border: 1px solid rgba(14, 165, 233, 0.4);
      padding: 2px 7px;
      border-radius: 4px;
      font-weight: 600;
    }
    .btn-custom-cyan {
      background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
      color: #ffffff !important;
      font-weight: 600;
      border: none;
      border-radius: var(--radius);
      padding: 8px 18px;
      font-size: 0.92rem;
      transition: all 0.25s ease;
      box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    }
    .btn-custom-cyan:hover {
      background: linear-gradient(135deg, #0284c7, #1d4ed8);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
    }
    .btn-custom-outline {
      background: transparent;
      color: #ffffff !important;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: var(--radius);
      padding: 8px 18px;
      font-size: 0.92rem;
      font-weight: 500;
      transition: all 0.25s ease;
    }
    .btn-custom-outline:hover {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan) !important;
      background: rgba(14, 165, 233, 0.08);
    }
    .btn-nav-trigger {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #f8fafc;
      width: 42px;
      height: 42px;
      border-radius: var(--radius);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      transition: all 0.2s ease;
    }
    .btn-nav-trigger:hover {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
    }
    .offcanvas {
      background-color: var(--primary-dark);
      color: #f8fafc;
      border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .offcanvas .btn-close {
      filter: invert(1) grayscale(100%) brightness(200%);
    }
    .drawer-nav-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px;
      margin-bottom: 8px;
      border-radius: var(--radius);
      color: #cbd5e1;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      transition: all 0.25s ease;
    }
    .drawer-nav-item:hover, .drawer-nav-item.active {
      background: rgba(14, 165, 233, 0.15);
      color: #ffffff;
      border-color: var(--accent-cyan);
    }
    /* 分类页定制样式 */
    .cat-strip-header {
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      border-bottom: 1px solid #334155;
      padding: 38px 0;
      color: #ffffff;
    }
    .cat-h1 {
      font-size: 1.95rem;
      font-weight: 800;
      letter-spacing: -0.5px;
      margin-bottom: 8px;
      color: #ffffff;
    }
    .cat-meta-tag {
      font-size: 0.85rem;
      color: #94a3b8;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px;
    }
    .cat-meta-tag span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .cat-status-chip {
      background: rgba(14, 165, 233, 0.15);
      border: 1px solid rgba(14, 165, 233, 0.3);
      color: var(--accent-cyan);
      font-size: 0.8rem;
      padding: 2px 10px;
      border-radius: 4px;
      font-weight: 600;
    }
    .filter-panel {
      background: var(--bg-white);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 22px 24px;
      box-shadow: var(--card-shadow);
      margin-top: -24px;
      position: relative;
      z-index: 10;
    }
    .filter-group-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      padding: 8px 0;
      border-bottom: 1px dashed #e2e8f0;
    }
    .filter-group-row:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .filter-label {
      font-size: 0.86rem;
      font-weight: 700;
      color: var(--primary-dark);
      min-width: 82px;
    }
    .filter-options {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .filter-btn {
      font-size: 0.83rem;
      padding: 4px 12px;
      border-radius: 4px;
      background: #f1f5f9;
      color: #475569;
      border: 1px solid transparent;
      transition: all 0.2s ease;
      cursor: pointer;
    }
    .filter-btn:hover, .filter-btn.active {
      background: #e0f2fe;
      color: #0369a1;
      border-color: #7dd3fc;
      font-weight: 600;
    }
    .resource-card {
      background: var(--bg-white);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
      transition: all 0.28s ease;
      position: relative;
    }
    .resource-card:hover {
      border-color: var(--accent-cyan);
      box-shadow: var(--glow-shadow);
      transform: translateY(-3px);
    }
    .card-thumb-wrapper {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #0f172a;
    }
    .card-thumb-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .resource-card:hover .card-thumb-wrapper img {
      transform: scale(1.04);
    }
    .thumb-badge-top {
      position: absolute;
      top: 10px;
      left: 10px;
      background: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(4px);
      color: #38bdf8;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 3px;
      border: 1px solid rgba(56, 189, 248, 0.3);
    }
    .thumb-badge-dur {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.75);
      color: #f8fafc;
      font-size: 0.72rem;
      padding: 2px 6px;
      border-radius: 3px;
    }
    .card-body-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .res-card-title {
      font-size: 1.12rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 8px;
      line-height: 1.45;
    }
    .res-card-desc {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 16px;
      flex-grow: 1;
    }
    .res-spec-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
      font-size: 0.78rem;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 4px;
      padding: 8px 10px;
      margin-bottom: 16px;
      color: #475569;
    }
    .res-action-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 10px;
      border-top: 1px solid #f1f5f9;
    }
    .pagination-custom .page-link {
      color: var(--primary-dark);
      border: 1px solid var(--card-border);
      font-weight: 600;
      margin: 0 3px;
      border-radius: 4px;
      padding: 8px 16px;
    }
    .pagination-custom .page-item.active .page-link {
      background: var(--accent-cyan);
      border-color: var(--accent-cyan);
      color: #ffffff;
    }
    .diff-table-card {
      background: var(--bg-white);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 28px;
      height: 100%;
      position: relative;
    }
    .diff-table-card.primary-zone {
      border-top: 4px solid var(--accent-cyan);
    }
    .diff-table-card.secondary-zone {
      border-top: 4px solid var(--accent-blue);
    }
    .step-flow-card {
      background: var(--bg-white);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 24px;
      position: relative;
      height: 100%;
    }
    .step-badge {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #0284c7;
      color: #ffffff;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
    }
    .cat-cta-band {
      background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
      color: #ffffff;
      border-radius: 8px;
      padding: 44px 32px;
      border: 1px solid rgba(14, 165, 233, 0.35);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    }
    .section-padding {
      padding: 60px 0;
    }
    .section-title {
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 12px;
      letter-spacing: -0.3px;
    }
    .section-intro {
      font-size: 0.96rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 34px;
    }
    .accordion-button:not(.collapsed) {
      color: #0369a1;
      background-color: #f0f9ff;
      box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25);
    }
    /* 页脚 */
    .site-footer {
      background-color: var(--primary-dark);
      color: #94a3b8;
      padding: 60px 0 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.9rem;
    }
    .footer-heading {
      color: #f8fafc;
      font-weight: 700;
      margin-bottom: 16px;
      font-size: 1rem;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a:hover {
      color: var(--accent-cyan);
    }
    .copyright-bar {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding-top: 24px;
      margin-top: 40px;
      font-size: 0.82rem;
    }
    @media (max-width: 768px) {
      .cat-h1 {
        font-size: 1.65rem;
      }
      .filter-label {
        width: 100%;
        margin-bottom: 4px;
      }
      .cat-cta-band {
        padding: 30px 20px;
      }
    }

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
