/**
 * Venta Simplyfy — Pricing section
 * Brand accent: orange (#ea580c) — matches product UI
 */

.vs-pricing {
  --vs-brand: #ea580c;
  --vs-brand-soft: #f97316;
  --vs-brand-deep: #c2410c;
  --vs-ink: #0f172a;
  --vs-muted: #64748b;
  --vs-line: #e2e8f0;
  --vs-surface: #ffffff;
  --vs-bg: #f8fafc;
  position: relative;
  padding: 100px 0 72px;
  background: var(--vs-bg);
  font-family: Inter, Ubuntu, system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

.vs-pricing__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 35% at 50% -8%, rgba(234, 88, 12, 0.07), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  pointer-events: none;
}

.vs-pricing .container {
  position: relative;
  z-index: 1;
}

.vs-pricing__header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.vs-pricing__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--vs-line);
  background: #fff;
  color: var(--vs-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vs-pricing__title {
  margin: 0 0 14px;
  color: var(--vs-ink);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.vs-pricing__subtitle {
  margin: 0 auto;
  max-width: 560px;
  color: var(--vs-muted);
  font-size: 17px;
  line-height: 1.6;
}

.vs-pricing__trust {
  margin: 16px auto 0;
  max-width: 640px;
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.vs-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
}

.vs-plan {
  position: relative;
  height: 100%;
  border-radius: 22px;
}

/* Card shell — solid white, visible border, generous padding */
.vs-plan__inner.pricing-table,
.vs-plan__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 40px 32px 32px !important;
  border-radius: 22px;
  border: 1.5px solid #dbe3ef !important;
  background: #ffffff !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06) !important;
  backdrop-filter: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vs-plan:hover .vs-plan__inner {
  transform: translateY(-6px);
  border-color: #cbd5e1 !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1) !important;
}

.vs-plan.is-popular {
  z-index: 2;
}

.vs-plan.is-popular .vs-plan__inner {
  padding-top: 48px !important;
  border: 2px solid var(--vs-brand) !important;
  background: #fff !important;
  box-shadow:
    0 0 0 4px rgba(234, 88, 12, 0.1),
    0 18px 44px rgba(234, 88, 12, 0.12) !important;
  transform: translateY(-8px);
}

.vs-plan.is-popular:hover .vs-plan__inner {
  transform: translateY(-12px);
  box-shadow:
    0 0 0 5px rgba(234, 88, 12, 0.12),
    0 24px 52px rgba(234, 88, 12, 0.16) !important;
}

.vs-plan__ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--vs-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.3);
}

.vs-plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.vs-plan__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff7ed;
  color: var(--vs-brand);
  border: 1px solid #fed7aa;
}

.vs-plan__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.vs-plan.is-popular .vs-plan__icon {
  background: #fff7ed;
  border-color: #fdba74;
  color: var(--vs-brand-deep);
}

.vs-plan__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--vs-line);
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.vs-plan.is-popular .vs-plan__badge {
  background: #fff7ed;
  border-color: #fed7aa;
  color: var(--vs-brand-deep);
}

.vs-plan.plan-empresarial .vs-plan__badge {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.vs-plan__name {
  margin: 0 0 10px;
  color: var(--vs-ink);
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.vs-plan__tagline {
  margin: 0 0 26px;
  min-height: 48px;
  color: var(--vs-muted);
  font-size: 15px;
  line-height: 1.55;
}

.vs-plan__price-block {
  margin-bottom: 20px;
}

.vs-plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  color: var(--vs-ink);
}

.vs-plan__amount {
  font-size: clamp(40px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.vs-plan__interval {
  color: var(--vs-muted);
  font-size: 15px;
  font-weight: 500;
}

.vs-plan__trial {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 12px 0 0;
}

.vs-plan__trial-main {
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
}

.vs-plan__trial-sub {
  color: #94a3b8;
  font-size: 13px;
}

.vs-plan__ideal {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--vs-line);
  text-align: left;
}

.vs-plan__ideal .plan-ideal-label {
  display: block;
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vs-plan__ideal .plan-ideal-list {
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.vs-plan__divider {
  height: 1px;
  margin: 4px 0 24px;
  background: #e2e8f0;
}

.vs-plan__benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0 !important;
  flex: 1 1 auto;
  text-align: left;
}

.vs-plan__benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
}

.vs-plan__benefit:last-child {
  margin-bottom: 0;
}

.vs-plan__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.vs-plan__check svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.vs-plan__benefit-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.vs-plan__benefit-text strong {
  color: var(--vs-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.vs-plan__benefit-text small {
  color: var(--vs-muted);
  font-size: 13px;
  line-height: 1.45;
}

.vs-plan__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: var(--vs-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.vs-plan__cta:hover,
.vs-plan__cta:focus {
  color: var(--vs-ink);
  transform: translateY(-2px);
  border-color: #94a3b8;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}

.vs-plan__cta svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.vs-plan.is-popular .vs-plan__cta {
  border: none;
  background: var(--vs-brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.28);
}

.vs-plan.is-popular .vs-plan__cta:hover,
.vs-plan.is-popular .vs-plan__cta:focus {
  color: #fff;
  background: var(--vs-brand-deep);
  box-shadow: 0 16px 34px rgba(234, 88, 12, 0.34);
}

.vs-plan.plan-empresarial .vs-plan__cta {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.vs-plan.plan-empresarial .vs-plan__cta:hover,
.vs-plan.plan-empresarial .vs-plan__cta:focus {
  color: #fff;
  background: #1e293b;
}

.vs-pricing__footnote {
  margin: 40px auto 0;
  max-width: 520px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}

.vs-pricing .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Do NOT zero padding/border on .pricing-table — it is the card itself */

/* Comparison */
.vs-compare {
  padding: 40px 0 100px;
  background: #fff;
  font-family: Inter, Ubuntu, system-ui, -apple-system, sans-serif;
}

.vs-compare__header {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.vs-compare__title {
  margin: 0 0 10px;
  color: var(--vs-ink, #0f172a);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.vs-compare__subtitle {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.55;
}

.vs-compare__frame {
  max-width: 960px;
  margin: 0 auto;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.vs-compare__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.vs-compare__table thead th {
  padding: 16px 18px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
}

.vs-compare__table thead th.is-featured {
  background: var(--vs-brand, #ea580c);
}

.vs-compare__table tbody th,
.vs-compare__table tbody td {
  padding: 14px 18px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  font-size: 14px;
  vertical-align: middle;
  background: #fff;
}

.vs-compare__table tbody th {
  font-weight: 600;
  text-align: left;
  color: #0f172a;
}

.vs-compare__table tbody td.is-featured {
  background: #fff7ed;
}

.vs-compare__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.vs-compare__yes svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.vs-compare__no {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 991px) {
  .vs-pricing {
    padding: 80px 0 56px;
  }

  .vs-pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    gap: 22px;
  }

  .vs-plan.is-popular {
    grid-column: 1 / -1;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  .vs-plan.is-popular .vs-plan__inner {
    transform: none;
  }

  .vs-plan.is-popular:hover .vs-plan__inner {
    transform: translateY(-6px);
  }
}

@media (max-width: 767px) {
  .vs-pricing__header {
    margin-bottom: 36px;
  }

  .vs-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .vs-plan.is-popular {
    order: -1;
    max-width: none;
  }

  .vs-plan__inner.pricing-table,
  .vs-plan__inner {
    padding: 36px 24px 24px !important;
  }

  .vs-plan__tagline {
    min-height: 0;
  }

  .vs-compare {
    padding-bottom: 72px;
  }

  .vs-compare__table thead th,
  .vs-compare__table tbody th,
  .vs-compare__table tbody td {
    padding: 12px 10px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vs-plan__inner,
  .vs-plan__cta {
    transition: none !important;
  }

  .vs-plan:hover .vs-plan__inner,
  .vs-plan.is-popular .vs-plan__inner,
  .vs-plan.is-popular:hover .vs-plan__inner {
    transform: none;
  }
}
