/* ═══════════════ Accent Gold — Feature Comparison page ═══════════════ */

/* ─── Comparison table ─── */
.cmp {
  border: 0.5px solid var(--hair);
  border-radius: 20px;
  background: var(--surface);
}
.crow {
  display: grid;
  grid-template-columns: minmax(220px, 2.1fr) repeat(4, 1fr);
  border-top: 0.5px solid var(--hair-soft);
}
.crow:first-child { border-top: 0; }

/* Header row */
.chead {
  position: sticky;
  top: 68px;
  z-index: 10;
  background: rgba(10,31,26,0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-radius: 20px 20px 0 0;
  border-bottom: 0.5px solid var(--hair);
}
.chead .clabel {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.chead .clabel .k {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--lime);
}
.chead .cv {
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  border-left: 0.5px solid var(--hair-soft);
  position: relative;
}
.chead .nm { font-size: 15px; font-weight: 500; letter-spacing: -0.2px; color: var(--white); }
.chead .tg { font-size: 11px; color: var(--muted-2); letter-spacing: 0.2px; }
.chead .pop {
  position: absolute;
  top: 0;
  background: var(--grad);
  color: #061a14;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px 5px;
  border-radius: 0 0 8px 8px;
}

/* Group rows */
.cgroup {
  display: block;
  background: rgba(151,196,89,0.05);
  padding: 13px 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--lime);
}

/* Feature rows */
.cfeat:nth-child(even) { background: rgba(255,255,255,0.015); }
.cf {
  padding: 15px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.cf .fn { font-size: 14px; color: var(--white); letter-spacing: -0.1px; }
.cf .hint { font-size: 12px; color: var(--muted-2); line-height: 1.4; }
.cv {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  border-left: 0.5px solid var(--hair-soft);
  text-align: center;
}
.cv[data-p="d"] { background: rgba(151,196,89,0.045); }
.ck {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(151,196,89,0.14);
  border: 0.5px solid var(--hair-strong);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397C459' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  display: inline-flex;
}
.ck::before { content: '✓'; }
.no { color: var(--muted-2); font-size: 14px; }
.tx { font-size: 13px; color: var(--white); line-height: 1.35; }

/* Footer CTA row */
.cfoot { border-top: 0.5px solid var(--hair); border-radius: 0 0 20px 20px; }
.cfoot .cv { padding: 22px 10px; }
.cfoot .btn { height: 38px; padding: 0 16px; font-size: 13px; }

/* ─── Mobile column picker ─── */
.cmp-tabs {
  display: none;
  position: sticky;
  top: 68px;
  z-index: 11;
  margin-bottom: 14px;
  padding: 5px;
  gap: 4px;
  background: rgba(10,31,26,0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 0.5px solid var(--hair);
  border-radius: 100px;
}
.cmp-tabs button {
  flex: 1;
  min-height: 38px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 6px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.cmp-tabs button.on {
  background: var(--grad);
  color: #061a14;
}

@media (max-width: 900px) {
  .cmp-tabs { display: flex; }
  .crow { grid-template-columns: 1.35fr 1fr; }
  .cv { display: none; }
  .chead { display: none; }
  .cmp > .cgroup:first-of-type { border-radius: 20px 20px 0 0; }
  .cf { padding: 14px 18px; }
  .cgroup { padding: 12px 18px; }
  .cmp[data-col="s"] .cv[data-p="s"],
  .cmp[data-col="p"] .cv[data-p="p"],
  .cmp[data-col="e"] .cv[data-p="e"],
  .cmp[data-col="d"] .cv[data-p="d"] { display: flex; }
}
