﻿.feature-card-modern {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
  }

  .features-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .features-row > .col-6 {
    flex: 0 0 calc(50% - 1rem) !important;
    max-width: calc(50% - 1rem) !important;
    width: calc(50% - 1rem) !important;
  }

  @media (max-width: 768px) {
    .features-row > .col-6 {
      flex: 0 0 100% !important;
      max-width: 100% !important;
      width: 100% !important;
    }
  }

  @media (min-width: 577px) {
    .feature-card-modern {
      height: 100%;
    }
  }

  .feature-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #28ab88;
  }

  .feature-icon-modern {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgba(40, 171, 136, 0.1) 0%, rgba(1, 51, 102, 0.1) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #28ab88;
  }

  .feature-icon-modern svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.375rem 0;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .feature-list-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #28ab88;
    flex-shrink: 0;
    margin-top: 0.125rem;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }

  @media (max-width: 992px) {
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 576px) {
    .stats-grid {
      grid-template-columns: 1fr;
    }
  }

  .stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #28ab88 0%, #013366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .info-card-modern {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
  }

  @media (min-width: 577px) {
    .info-card-modern {
      height: 100%;
    }
  }

  .info-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }

  .info-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgba(40, 171, 136, 0.1) 0%, rgba(1, 51, 102, 0.1) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #28ab88;
  }

  .info-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .info-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
  }

  .info-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .info-card-list li {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.8;
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
  }

  .info-card-list li:before {
    content: "âœ“";
    position: absolute;
    right: 0;
    color: #28ab88;
    font-weight: 700;
  }

  /* CTA Buttons - Equal Height */
  .cta-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
  }

  .cta-buttons-container .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
  }

  .feature-tabs-section {
    background: #f8fafc;
  }

  .feature-tabs-shell {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .feature-tabs-list {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 704px;
    overflow-y: auto;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid rgb(226 232 240 / 30%);
    /* border-radius: 1rem; */
    /* box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); */
    /* justify-self: end; */
    position: relative;
    right: -10px;

  }

  .feature-tabs-list::-webkit-scrollbar {
    width: 8px;
  }

  .feature-tabs-list::-webkit-scrollbar-thumb {
    background: rgba(1, 51, 102, 0.25);
    border-radius: 999px;
  }

  .feature-tab-btn {
    width: 100%;
    /* border: 1px solid #dbe3ed;
    border-right: 4px solid transparent;
    background: #ffffff; */
    color: #1e293b;
    border-radius: 0.8rem;
    padding: 0.75rem 0.9rem;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.65;
    text-align: right;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .feature-tab-btn:hover {
    border-color: #28ab88;
    color: #013366;
    transform: translateX(-2px);
  }

  .feature-tab-btn.active {
    border-color: rgba(40, 171, 136, 0.5);
    border-right-color: #28ab88;
    background: linear-gradient(135deg, rgba(40, 171, 136, 0.16) 0%, rgba(1, 51, 102, 0.08) 100%);
    color: #0e424d;
    /* box-shadow: 0 6px 18px rgba(40, 171, 136, 0.18); */
    font-size: larger;
  }

  .feature-tab-content {
    grid-column: 2;
    grid-row: 1;
    /* background: #e0ecee; */
    /* border: 1px solid #e2e8f0; */
    /* border-radius: 0.95rem; */
    padding: 1.25rem;
    min-height: 460px;
    /* box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); */
  }

  .feature-tab-pane {
    display: none;
  }

  .feature-tab-pane.active {
    display: block;
  }

  .feature-tab-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
  }

  .feature-tab-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #013366;
    margin-top: 1rem;
    margin-bottom: 0.6rem;
  }

  .feature-tab-content h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f766e;
    margin-top: 1rem;
    margin-bottom: 0.6rem;
  }

  .feature-tab-content p {
    margin-bottom: 0.55rem;
    color: #334155;
    line-height: 1.8;
  }

  .feature-glass-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: start;
  }

  .feature-glass-card {
    position: relative;
    border-radius: 1rem;
    isolation: isolate;
  }

  .feature-glass-card::before {
    content: "";
    position: absolute;
    inset: 1.9rem 2.9rem 0.08rem 0.08rem;
    background: #e0eced;
    /* border: 1px solid #e1e8f5; */
    border-radius: 0.95rem;
    /* box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1); */
  }

  .feature-glass-card::after {
    content: "";
    position: absolute;
    inset: 0.08rem 0.08rem 1.9rem 2.9rem;
    border-radius: 0.95rem;
    border: 1px solid #e1e1e1;
    background:
      radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.06) 44%),
      linear-gradient(128deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    /* box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 14px 26px rgba(15, 23, 42, 0.09); */
  }

  .feature-glass-card-content {
    position: relative;
    z-index: 1;
    margin: 0.08rem 0.08rem 1.9rem 2.9rem;
    padding: 1rem 1.05rem 0.95rem;
  }

  .feature-glass-card-content h3,
  .feature-glass-card-content h4 {
    color: #0f2e57;
    margin-top: 0;
  }

  .feature-glass-card-content h3 {
    font-size: 1.03rem;
    margin-bottom: 0.6rem;
  }

  .feature-glass-card-content h4 {
    font-size: 0.95rem;
    margin-top: 0.85rem;
    margin-bottom: 0.55rem;
    color: #2c5484;
  }

  .feature-glass-card-content p {
    color: #263f63;
    margin-bottom: 0.42rem;
    line-height: 1.75;
    padding-inline-start: 0.9rem;
    position: relative;
  }

  .feature-glass-card-content p::before {
    content: "";
    position: absolute;
    top: 0.75em;
    inset-inline-start: 0;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: rgba(38, 84, 138, 0.72);
  }

  .feature-benefits-roadmap {
    background: #f8fafc;
    padding: 2.75rem 0 3.5rem;
  }

  .benefits-roadmap-header h2 {
    margin-bottom: 0.65rem;
    font-size: 1.65rem;
    font-weight: 800;
    color: #013366;
  }

  .benefits-roadmap-header p {
    margin: 0 auto;
    max-width: 760px;
    color: #2c5484;
    line-height: 1.9;
  }

  .benefits-roadmap {
    position: relative;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
    min-height: 486px;
  }

  .benefits-roadmap-wave {
    position: absolute;
    inset: 135px 0 auto 0;
    width: 100%;
    height: 155px;
    z-index: 0;
    pointer-events: none;
  }

  .benefits-roadmap-wave path {
    fill: none;
    stroke: #7bb1b5;
    stroke-width: 1.6;
    opacity: 0.55;
  }

  .benefit-step {
    position: relative;
    min-height: 456px;
    z-index: 1;
  }

  .benefit-card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 175px);
    min-height: 176px;
    border-radius: 1.8rem 1.8rem 2.1rem 2.1rem;
    border: 1px solid rgba(123, 177, 181, 0.28);
    padding: 1.2rem 1rem 1.05rem;
    text-align: center;
    background: #eaf3f6;
    box-shadow: 0 10px 24px rgba(1, 51, 102, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
    cursor: pointer;
  }

  .benefit-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.03rem;
    font-weight: 800;
    color: #013366;
    transition: color 0.24s ease;
  }

  .benefit-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.8;
    color: #24466f;
    transition: color 0.24s ease;
  }

  .benefit-step--top .benefit-card {
    top: -27px;
  }

  .benefit-step--bottom .benefit-card {
    bottom: 0;
  }

  .benefit-dot {
    position: absolute;
    top: 206px;
    left: 50%;
    transform: translateX(-50%);
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    background: #013366;
    box-shadow: 0 8px 18px rgba(1, 51, 102, 0.2);
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
  }

  .benefit-stem {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    border-radius: 999px;
    background: rgba(40, 171, 136, 0.52);
    transition: height 0.24s ease, background-color 0.24s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .benefit-step:hover .benefit-card {
      transform: translateX(-50%) translateY(-6px);
      border-color: rgba(40, 171, 136, 0.45);
      box-shadow: 0 18px 32px rgba(1, 51, 102, 0.16);
    }

    .benefit-step:hover .benefit-dot {
      transform: translateX(-50%) scale(1.08);
      box-shadow: 0 12px 22px rgba(1, 51, 102, 0.28);
      background: #28ab88;
    }

    .benefit-step:hover .benefit-stem {
      background: rgba(40, 171, 136, 0.8);
    }
  }

  .benefit-step--top .benefit-stem {
    top: 173px;
    height: 33px;
  }

  .benefit-step--bottom .benefit-stem {
    top: 252px;
    height: 28px;
  }

  .benefit-step:nth-of-type(1) .benefit-card {
    background: #eaf3f6;
  }

  .benefit-step:nth-of-type(2) .benefit-card {
    background: #e0eced;
  }

  .benefit-step:nth-of-type(3) .benefit-card {
    background: #e4edf5;
  }

  .benefit-step:nth-of-type(4) .benefit-card {
    background: #e3f0f2;
  }

  .benefit-step:nth-of-type(5) .benefit-card {
    background: #e2eef0;
  }

  .benefit-step:nth-of-type(6) .benefit-card {
    background: #eaf2f5;
  }

  .benefit-step:nth-of-type(1) .benefit-dot {
    background: #013366;
  }

  .benefit-step:nth-of-type(2) .benefit-dot {
    background: #1b4e7b;
  }

  .benefit-step:nth-of-type(3) .benefit-dot {
    background: #2f6fa0;
  }

  .benefit-step:nth-of-type(4) .benefit-dot {
    background: #7bb1b5;
  }

  .benefit-step:nth-of-type(5) .benefit-dot {
    background: #2d7e90;
  }

  .benefit-step:nth-of-type(6) .benefit-dot {
    background: #395f97;
  }

  @media (hover: hover) and (pointer: fine) {
    .benefit-step:hover .benefit-card {
      background: #dff0e8;
      border-color: rgba(40, 171, 136, 0.4);
    }

    .benefit-step:hover .benefit-card h3 {
      color: #15584e;
    }

    .benefit-step:hover .benefit-card p {
      color: #246a64;
    }
  }

  /* Local FAQ active override for this page only */
  .faq-page .faq-item.active {
    border-color: #7bb1b5 !important;
    background: #e0eced !important;
    box-shadow: 0 16px 40px rgb(224 236 237) !important;
  }

  @media (max-width: 992px) {
    .feature-tabs-shell {
      grid-template-columns: 1fr;
    }

    .feature-tabs-list {
      grid-column: 1;
      grid-row: 1;
      max-height: none;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      right: 0;
      justify-self: stretch;
    }

    .feature-tab-content {
      grid-column: 1;
      grid-row: 2;
      min-height: auto;
    }

    .benefits-roadmap {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      min-height: 0;
      gap: 1rem;
    }

    .benefits-roadmap-wave {
      display: none;
    }

    .benefit-step {
      min-height: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.65rem;
    }

    .benefit-card {
      position: static;
      transform: none;
      width: 100%;
      max-width: none;
      min-height: 0;
    }

    .benefit-stem {
      display: none;
    }

    .benefit-step--top .benefit-card {
      order: 1;
    }

    .benefit-step--top .benefit-dot {
      order: 2;
    }

    .benefit-step--bottom .benefit-dot {
      order: 1;
    }

    .benefit-step--bottom .benefit-card {
      order: 2;
    }

    .benefit-dot {
      position: static;
      transform: none;
    }

  }

  @media (max-width: 768px) {
    .benefits-roadmap {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-roadmap-header h2 {
      font-size: 1.35rem;
    }

    .feature-glass-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 576px) {
    .benefits-roadmap {
      grid-template-columns: 1fr;
    }

    .feature-tabs-list {
      grid-template-columns: 1fr;
    }

    .feature-tab-btn:hover {
      transform: none;
    }

    .feature-glass-card::before {
      inset: 1.2rem 1.9rem 0.08rem 0.08rem;
    }

    .feature-glass-card::after {
      inset: 0.08rem 0.08rem 1.2rem 1.9rem;
    }

    .feature-glass-card-content {
      margin: 0.08rem 0.08rem 1.2rem 1.9rem;
      padding: 0.92rem 0.92rem 0.86rem;
    }
  }
