/* =================================================================
   PLANS — Limify pricing
   Used on planos.html
   ================================================================= */

.plans { padding: 40px 0 100px; }
.plans-head { max-width: 760px; margin: 0 auto; text-align: center; }

/* Toggle */
.plans-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 21, 48, 0.05);
  border: 1px solid rgba(15, 21, 48, 0.08);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  position: relative;
}
.plans-toggle button {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-5);
  border-radius: 999px;
  cursor: pointer;
  transition: all 180ms;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.plans-toggle button.is-on {
  background: #fff;
  color: var(--ink-1);
  box-shadow: 0 1px 3px rgba(15, 21, 48, 0.10);
}
.pt-save {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0E7C3A;
  background: rgba(40, 200, 100, 0.16);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* Card */
.plan-card {
  background: #fff;
  border: 1px solid rgba(15, 21, 48, 0.08);
  border-radius: 20px;
  padding: 28px 26px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(15, 21, 48, 0.03);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(15, 21, 48, 0.08);
}
.plan-card.is-featured {
  background: linear-gradient(180deg, #0A0E1C 0%, #1A2F8A 100%);
  border-color: rgba(122, 153, 255, 0.6);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(122, 153, 255, 0.4),
    0 30px 80px -20px rgba(31, 70, 224, 0.45);
  transform: translateY(-12px);
}
.plan-card.is-featured:hover {
  transform: translateY(-14px);
}

/* Ribbon */
.plan-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #5279FF, #1F46E0);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px -4px rgba(31, 70, 224, 0.5);
}

/* Header (tag + name + ideal-for) */
.plan-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-6);
  margin-bottom: 10px;
}
.plan-card.is-featured .plan-tag { color: #A4B6FF; }
.plan-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.plan-ideal {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-5);
  min-height: 38px;
}
.plan-card.is-featured .plan-ideal { color: rgba(255, 255, 255, 0.62); }

/* Price block — fixed height so CTAs align across cards/modes */
.plan-price {
  margin-top: 22px;
  height: 168px;
  display: grid;
  grid-template-rows: 18px 56px 36px 28px;
  gap: 8px;
  align-content: start;
}
.pp-strike {
  font-size: 13px;
  color: var(--ink-6);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  line-height: 18px;
}
.pp-strike-empty { visibility: hidden; }
.plan-card.is-featured .pp-strike { color: rgba(255, 255, 255, 0.40); }
.pp-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  height: 56px;
}
.pp-currency {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-3);
}
.plan-card.is-featured .pp-currency { color: rgba(255, 255, 255, 0.75); }
.pp-value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pp-period {
  font-size: 14px;
  color: var(--ink-5);
  font-weight: 500;
}
.plan-card.is-featured .pp-period { color: rgba(255, 255, 255, 0.65); }
.pp-meta {
  font-size: 12.5px;
  color: var(--ink-5);
  line-height: 1.45;
}
.plan-card.is-featured .pp-meta { color: rgba(255, 255, 255, 0.60); }
.pp-iof {
  font-size: 11px;
  color: var(--ink-6);
  line-height: 1.4;
  margin-top: 4px;
  font-style: italic;
}
.plan-card.is-featured .pp-iof { color: rgba(255, 255, 255, 0.45); }
.pp-save {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0E7C3A;
  background: rgba(40, 200, 100, 0.14);
  padding: 4px 8px;
  border-radius: 999px;
  width: fit-content;
  height: 22px;
}
.pp-save-empty {
  visibility: hidden;
  background: transparent !important;
  border: 0 !important;
}
.plan-card.is-featured .pp-save {
  color: #6FF1A3;
  background: rgba(40, 200, 100, 0.16);
}
.pp-save svg { width: 11px; height: 11px; }

/* CTA */
.plan-cta {
  margin-top: 22px;
  justify-content: center;
  width: 100%;
  font-weight: 500;
}
.plan-card .plan-cta.btn-secondary {
  background: rgba(15, 21, 48, 0.04);
  color: var(--ink-1);
  border: 1px solid rgba(15, 21, 48, 0.08);
}
.plan-card .plan-cta.btn-secondary:hover {
  background: rgba(15, 21, 48, 0.07);
}
.plan-card.is-featured .plan-cta.btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 24px -6px rgba(255, 255, 255, 0.3);
}
.plan-card.is-featured .plan-cta.btn-primary:hover {
  background: #F4F6FF;
  transform: translateY(-1px);
}

/* Features */
.plan-features-label {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 21, 48, 0.07);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-6);
}
.plan-card.is-featured .plan-features-label {
  border-top-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.45);
}
.plan-features {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
}
.plan-features li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.plan-card.is-featured .plan-features li {
  color: rgba(255, 255, 255, 0.88);
}
.pf-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(31, 70, 224, 0.12);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pf-check svg { width: 10px; height: 10px; }
.plan-card.is-featured .pf-check {
  background: rgba(122, 153, 255, 0.20);
  color: #A4B6FF;
}
.pf-strong { color: var(--ink-1); font-weight: 500; }
.plan-card.is-featured .pf-strong { color: #fff; }

/* Trust strip */
.plans-trust {
  margin: 56px auto 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid rgba(15, 21, 48, 0.06);
  border-radius: 16px;
  overflow: hidden;
}
.plans-trust-item {
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-right: 1px solid rgba(15, 21, 48, 0.06);
}
.plans-trust-item:last-child { border-right: 0; }
.plans-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(31, 70, 224, 0.08);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.plans-trust-icon svg { width: 18px; height: 18px; }
.plans-trust-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-1);
}
.plans-trust-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-5);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.is-featured { transform: none; }
  .plan-card.is-featured:hover { transform: translateY(-2px); }
  .plans-trust { grid-template-columns: 1fr; }
  .plans-trust-item { border-right: 0; border-bottom: 1px solid rgba(15, 21, 48, 0.06); }
  .plans-trust-item:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 24px 22px 28px; }
  .pp-value { font-size: 38px; }
}
