/* ════════════════════════════════════════════════════
   ePASS Pricing Page
   BEM naming: block__element--modifier
   ════════════════════════════════════════════════════ */

:root {
  /* Plan accent palette (--ds-primary is used for GCP+GLN) */
  --c-gln-edo: #00508f;
  --c-gtin-by: #2e5ea6;
  --c-gtin-foreign: #2e5ea6;
  --c-api: #003d73;

  /* Check-icon semantic colors */
  --check-yes-bg: var(--ds-success-bg);
  --check-yes-color: var(--ds-success);
  --check-no-bg: #f0f1f5;
  --check-no-color: #c4c7d0;
}

/* ═══ PLAN ACCENT COLORS ═══
   Each data-plan declares --plan-color.
   Children (.plan__dot, .compare-table__dot) inherit it. */
[data-plan="gcp-gln"] {
  --plan-color: var(--ds-primary);
}
[data-plan="gln-edo"] {
  --plan-color: var(--c-gln-edo);
}
[data-plan="gtin-by"] {
  --plan-color: var(--c-gtin-by);
}
[data-plan="gtin-foreign"] {
  --plan-color: var(--c-gtin-foreign);
}
[data-plan="api"] {
  --plan-color: var(--c-api);
}

/* ═══════════════════════════════════════════════════
   BLOCK: hero
   ═══════════════════════════════════════════════════ */
.hero {
  background: transparent;
  padding: var(--ds-sp-16) var(--ds-sp-6) 0;
  text-align: center;
  position: relative;
}
.hero__title {
  font-size: 40px;
  font-weight: 800;
  color: #000000;
  letter-spacing: -1px;
  margin-bottom: var(--ds-sp-3);
  position: relative;
}
.hero__subtitle {
color: #000000;  
font-size: 16px;
    max-width: 740px;
    line-height: 1.2;
    font-weight: 800;
  margin: 0 auto var(--ds-sp-12);
}

/* ═══════════════════════════════════════════════════
   BLOCK: plan  (card within plan-grid)
   ═══════════════════════════════════════════════════ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--ds-sp-3);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--ds-sp-6) var(--ds-sp-12);
}
.plan {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  border-radius: var(--ds-radius-lg);
  padding: 28px 20px 24px;
  text-align: left;
  transition:
    border-color var(--ds-transition-slow),
    transform var(--ds-transition-slow),
    box-shadow var(--ds-transition-slow);
  position: relative;
        box-shadow: 2px -2px 20px -2px rgb(65 73 168 / 20%);
}
.plan:hover {
  border-color: #475a75;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.plan--featured {
  border-color: var(--ds-accent);
  box-shadow: 0 0 24px rgba(var(--ds-accent-rgb), 0.15);
}
.plan__tag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ds-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 0 0 8px 8px;
}
.plan__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--plan-color);
}
.plan__name {
  font-size: 18px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 6px;
  line-height: 1.3;
}
.plan__desc {
  flex: 1;
  font-size: 15px;
  color: var(--ds-text-dim);
  line-height: 1.2;
  margin-bottom: 20px;
}
.plan__duration {
  margin-top: auto;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #f5f6f8;
    padding: 10px 12px;
    border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-text-dim);
  margin-bottom: 16px;
}
.plan__cta {
  display: block;
  width: 100%;
  padding: 11px 0;
  border-radius: var(--ds-radius);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition:
    opacity var(--ds-transition),
    transform 0.15s;
}
.plan__cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}
.plan__cta:active {
  transform: scale(0.97);
}
.plan__cta--filled {
  background: var(--ds-accent);
  color: #fff;
}
.plan__cta--outlined {
  background: #102c67;
  color: #ffffff;
  border: 1.5px solid var(--ds-border-dark);
}
.plan__cta--outlined:hover {
  border-color: #5a6d85;
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   BLOCK: compare-toggle
   ═══════════════════════════════════════════════════ */
.compare-toggle {
  text-align: center;
/*  padding: var(--ds-sp-12) var(--ds-sp-6) var(--ds-sp-16);*/
}
.compare-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-2);
  padding: 14px 32px;
  border-radius: var(--ds-radius);
  border: 1.5px solid var(--ds-border);
  background: #29376e;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  transition: all var(--ds-transition);
  box-shadow: 2px -2px 20px -2px rgb(65 73 168 / 20%);
}
.compare-toggle__btn:hover {
  background: #ff6a00;
  color: #ffffff;
  box-shadow: var(--ds-shadow);
  transform: translateY(-1px);
}
.compare-toggle__btn:active {
  transform: scale(0.97);
}

/* ═══════════════════════════════════════════════════
   BLOCK: comparison  (section wrapper)
   ═══════════════════════════════════════════════════ */
.comparison {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--ds-sp-12) var(--ds-sp-6) 40px;
}
.comparison__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.comparison__desc {
  font-size: 14px;
  color: var(--ds-text-secondary);
  margin-bottom: var(--ds-sp-8);
}
.comparison__body {
  overflow-x: auto;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: var(--ds-surface);
        box-shadow: 2px -2px 20px -2px rgb(65 73 168 / 20%);
  position: relative;
}

/* ═══════════════════════════════════════════════════
   BLOCK: compare-table
   ═══════════════════════════════════════════════════ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table__col {
  width: 240px;
}

/* Header */
.compare-table thead th {
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ds-text);
  text-align: left;
  border-bottom: 2px solid var(--ds-border);
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--ds-surface);
}
.compare-table thead th:first-child {
  font-weight: 400;
  color: var(--ds-text-muted);
  font-size: 15px;
}
.compare-table__th {
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-table__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--plan-color);
}

/* Data cells */
.compare-table td {
  padding: 12px 16px;
  font-size: 16px;
  color: #505f79;
  line-height: 1.3;
  border-bottom: 1px solid var(--ds-border);
  vertical-align: top;
}
.compare-table__label {
  font-weight: 600;
  color: var(--ds-text);
  font-size: 13px;
}

/* Vertically center all cells in check-icon rows */
.compare-table .compare-table__row--center td {
  vertical-align: middle;
  text-align: center;
}
.compare-table .compare-table__row--center td:first-child {
  text-align: left;
}

/* ═══════════════════════════════════════════════════
   BLOCK: check  (yes/no status icon)
   ═══════════════════════════════════════════════════ */
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.check--yes {
  background: var(--check-yes-bg);
  color: var(--check-yes-color);
  font-weight: 800;
  font-size: 16px;
}
.check--no {
  background: var(--check-no-bg);
  color: var(--check-no-color);
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════
   BLOCK: steps  (onboarding process)
   ═══════════════════════════════════════════════════ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.steps__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
    font-size: 15px;
    line-height: 1.3;
  color: var(--ds-text-secondary);
}
.steps__num {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ds-info-bg);
  color: var(--ds-primary);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ds-font-mono);
  margin-top: 1px;
}
.steps-alt {
  font-size: 15px;
  color: var(--ds-text-secondary);
}

/* ═══════════════════════════════════════════════════
   BLOCK: doc-link
   ═══════════════════════════════════════════════════ */
.doc-link {
  display: block;
  color: var(--ds-text-secondary);
  text-decoration: underline;
  font-size: 16px;
  margin-bottom: 4px;
}
.doc-link:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════
   STICKY FIRST COLUMN
   ═══════════════════════════════════════════════════ */
.compare-table thead th:first-child,
.compare-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--ds-surface);
}
.compare-table thead th:first-child {
  z-index: 4;
}

/* Scroll shadow — fades in when table is scrolled */
.compare-table td:first-child::after,
.compare-table thead th:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;
  bottom: 0;
  width: 12px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.04), transparent);
  opacity: 0;
  transition: opacity var(--ds-transition);
}
.comparison__body.scrolled .compare-table td:first-child::after,
.comparison__body.scrolled .compare-table thead th:first-child::after {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   SECTION SEPARATORS
   Placed after sticky-column rules so background
   override wins at equal specificity via source order.
   ═══════════════════════════════════════════════════ */
.compare-table .compare-table__group td {
  background: var(--ds-bg);
  border-top: 2px solid var(--ds-border);
  border-bottom: 1px solid var(--ds-border);
  padding: 0;
}
.compare-table .compare-table__group td::after {
  display: none;
}
.compare-table td.compare-table__group-title {
  position: sticky;
  padding: 6px 0 6px 16px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: #29376d;
}

/* ═══════════════════════════════════════════════════
   BLOCK: scroll-hint  (JS-injected mobile prompt)
   ═══════════════════════════════════════════════════ */
.scroll-hint {
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--ds-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.3s;
}
.scroll-hint--hidden {
  opacity: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 16px var(--ds-sp-12);
  }
}

@media (max-width: 700px) {
  /* Hero */
  .hero {
    padding: var(--ds-sp-12) 16px 0;
  }
  .hero__title {
    font-size: 26px;
    letter-spacing: -0.5px;
  }
  .hero__subtitle {
    font-size: 14px;
    margin-bottom: var(--ds-sp-8);
  }

  /* Plan cards → horizontal scroll */
  .plan-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 0 16px var(--ds-sp-8);
    scrollbar-width: none;
  }
  .plan-grid::-webkit-scrollbar {
    display: none;
  }
  .plan-grid::after {
    content: "";
    flex-shrink: 0;
    width: 1px;
  }
  .plan {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
  .plan:hover {
    transform: none;
  }
  .plan__desc {
    min-height: auto;
    font-size: 12px;
  }

  /* Comparison section */
  .comparison {
    padding: 24px 0 60px;
  }
  .comparison__title {
    padding: 0 16px;
  }
  .comparison__desc {
    padding: 0 16px;
  }
  .comparison__body {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin: 0;
  }

  /* Table — min-width keeps columns readable; body scrolls horizontally */
  .compare-table {
    min-width: 1100px;
    width: max-content;
    max-width: none;
    table-layout: fixed;
  }
  .compare-table__col {
    width: 150px;
  }
  .compare-table colgroup col:not(.compare-table__col) {
    width: 190px;
  }
  .compare-table thead th {
    padding: 12px 10px;
    font-size: 14px;
    white-space: nowrap;
  }
  .compare-table thead th:first-child {
    white-space: normal;
    font-size: 12.5px;
  }
  .compare-table td {
    padding: 12px 10px;
    font-size: 15px;
    line-height: 1.5;
  }
  .compare-table__label {
    font-size: 14px;
    line-height: 1.45;
  }
  .compare-table__th {
    gap: 4px;
  }
  .compare-table__dot {
    width: 6px;
    height: 6px;
  }
  .check {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 15px;
  }
  .compare-table .compare-table__group td {
    padding: 0;
  }
  .compare-table td.compare-table__group-title {
    padding: 8px 0 8px 16px;
    font-size: 12.5px;
  }
  .compare-table__group-title::before {
    height: 14px;
    width: 2.5px;
  }

  /* Toggle */
  .compare-toggle {
    padding: var(--ds-sp-8) 16px var(--ds-sp-12);
  }
  .compare-toggle__btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Tooltip mobile overrides */
  .tooltip__bubble {
    max-width: min(420px, calc(100vw - 2rem));
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }
  .service-packages-page .tooltip__badge {
    font-size: 14px;
    margin-left: 2px;
  }
}

@media (max-width: 480px) {
  .plan {
    flex: 0 0 200px;
  }
  .compare-table__col {
    width: 130px;
  }
  .compare-table colgroup col:not(.compare-table__col) {
    width: 170px;
  }
  .compare-table td {
    font-size: 14px;
    padding: 10px 8px;
  }
  .compare-table thead th {
    font-size: 13px;
    padding: 10px 8px;
  }
  .compare-table__label {
    font-size: 13px;
  }
  .compare-table td.compare-table__group-title {
    padding: 6px 0 6px 12px;
    font-size: 11.5px;
  }
  
  
  
  
  
  
  
  .criteria-logos-cell {
  padding: 18px 12px !important;
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  background: #eef0f8;
  text-align: center;
  vertical-align: middle;
}

.criteria-logos-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.criteria-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.epass-logo {
  width: 118px;
}

.gs1-logo {
  width: 132px;
}


}