/* Subscription page — public marketing polish */
.vs-navbar .vs-brand,
.vs-navbar .vs-brand:hover,
.vs-navbar .vs-brand:focus {
  color: #ffffff !important;
  text-decoration: none;
}

.subscription-hero {
  position: relative;
  overflow: hidden;
  padding: calc(56px + 52px) 0 44px;
  margin-top: 0;
  background: linear-gradient(155deg, #06122b 0%, #0b1f4d 52%, #1e3a8a 100%);
  color: #fff;
}

.subscription-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(96, 165, 250, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.subscription-hero .container {
  position: relative;
  z-index: 1;
}

.subscription-hero .hero-title {
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 38rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.subscription-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 400;
}

.hero-trial-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fef9c3;
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.btn-vs-light {
  background: #fff;
  color: var(--vs-navy-900);
  font-weight: 700;
  padding: 0.72rem 1.2rem;
  border-radius: 9px;
  border: none;
}

.btn-vs-light:hover {
  background: #e8f0ff;
  color: var(--vs-navy-900);
}

.plan-grid-section {
  padding: 56px 0 48px;
  background: #f8fbff;
}

.subscription-navbar {
  border-bottom: none !important;
  box-shadow: none !important;
}

body.subscription-page {
  padding-top: 0;
}

.subscription-navbar .vs-nav-link.active {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

/* SaaS plan cards — corporate premium depth */
.saas-plan-card {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #c5ced9;
  border-radius: 18px;
  background: linear-gradient(168deg, #ffffff 0%, #f9fbfd 38%, #eef2f7 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(15, 23, 42, 0.03),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.07),
    0 20px 48px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.2s ease;
}

.saas-plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #94a3b8 0%, #cbd5e1 50%, #94a3b8 100%);
  z-index: 1;
}

.saas-plan-card::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  pointer-events: none;
  z-index: 1;
}

.saas-plan-card:hover {
  transform: translateY(-6px);
  border-color: #a8b4c4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 8px rgba(15, 23, 42, 0.05),
    0 16px 36px rgba(15, 23, 42, 0.1),
    0 28px 56px rgba(15, 23, 42, 0.08);
}

.saas-plan-card--featured {
  border-color: #9ec5fe;
  background: linear-gradient(168deg, #f8fbff 0%, #ffffff 35%, #f0f6ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.99),
    0 2px 6px rgba(37, 99, 235, 0.07),
    0 12px 32px rgba(37, 99, 235, 0.11),
    0 24px 52px rgba(37, 99, 235, 0.07);
}

.saas-plan-card--featured::before {
  height: 5px;
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 50%, #60a5fa 100%);
}

.saas-plan-card--featured:hover {
  border-color: #7eb4fd;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.99),
    0 6px 14px rgba(37, 99, 235, 0.1),
    0 20px 44px rgba(37, 99, 235, 0.14),
    0 32px 64px rgba(37, 99, 235, 0.09);
}

.saas-plan-card--enterprise {
  border-color: #b0bcc9;
  background: linear-gradient(168deg, #ffffff 0%, #f8fafc 42%, #e8edf3 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 3px 10px rgba(51, 65, 85, 0.07),
    0 14px 36px rgba(51, 65, 85, 0.09);
}

.saas-plan-card--enterprise::before {
  height: 5px;
  background: linear-gradient(90deg, #64748b 0%, #475569 50%, #64748b 100%);
}

.saas-plan-ribbon-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  padding: 0.38rem 0.75rem 0.38rem 1rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 0 17px 0 12px;
  box-shadow: -3px 3px 10px rgba(37, 99, 235, 0.28);
  pointer-events: none;
  line-height: 1;
}

.saas-plan-card--enterprise .saas-plan-name {
  color: var(--vs-navy-900);
}

.saas-plan-card--enterprise .saas-plan-tagline,
.saas-plan-card--enterprise .saas-plan-anchor {
  color: #64748b;
}

.saas-plan-card--enterprise .saas-plan-included-label {
  color: #94a3b8;
}

.saas-plan-card--enterprise .saas-plan-included-list li {
  color: #334155;
}

.saas-plan-card--enterprise .saas-plan-included-list li::before {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.saas-plan-card--enterprise .saas-plan-cta {
  background: #334155;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(51, 65, 85, 0.2);
}

.saas-plan-card--enterprise .saas-plan-cta:hover {
  background: #1e293b;
  color: #fff !important;
}

.saas-plan-category {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  text-align: center;
}

.saas-plan-card--featured .saas-plan-category {
  color: #64748b;
}

.saas-plan-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.5rem;
  margin-bottom: 0.45rem;
}

.saas-plan-badge {
  display: none;
}

.saas-plan-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.65rem 1.45rem 1.45rem;
  position: relative;
  z-index: 2;
}

.saas-plan-header {
  display: flex;
  flex-direction: column;
  text-align: center;
  min-height: 13.5rem;
  padding-bottom: 0;
  margin-bottom: 0;
}

.saas-plan-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--vs-navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.saas-plan-name::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  vertical-align: 0.12em;
  border-radius: 2px;
  background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.saas-plan-card--featured .saas-plan-name::before {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}

.saas-plan-card--enterprise .saas-plan-name::before {
  background: linear-gradient(135deg, #475569 0%, #64748b 100%);
}

.saas-plan-tagline {
  flex: 1 1 auto;
  margin: 0.55rem 0 0;
  min-height: 3.9rem;
  font-size: 0.86rem;
  color: var(--vs-text-muted);
  line-height: 1.5;
  font-weight: 400;
}

.saas-plan-cta-wrap {
  text-align: center;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(203, 213, 225, 0.35);
}

.saas-plan-cta {
  display: inline-block;
  width: auto;
  min-width: 10.5rem;
  max-width: 100%;
  padding: 0.68rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--vs-blue-600);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.18);
}

@media (max-width: 767.98px) {
  .saas-plan-header {
    min-height: 0;
  }

  .saas-plan-tagline {
    min-height: 0;
  }

  .saas-plan-cta {
    width: 100%;
    min-width: 0;
  }
}

.saas-plan-cta:hover {
  background: #1d4ed8;
  color: #fff !important;
}

.saas-plan-included {
  flex: 1;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(203, 213, 225, 0.45);
}

.saas-plan-card--enterprise .saas-plan-included {
  border-top-color: #e2e8f0;
}

.saas-plan-included-label {
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a8b4c4;
  line-height: 1;
  text-align: left;
}

.saas-plan-included-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.saas-plan-included-list li {
  position: relative;
  padding: 0.38rem 0 0.38rem 1.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--vs-text-dark);
  line-height: 1.4;
}

.saas-plan-included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.42rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.58rem;
  line-height: 1;
}

.compare-section {
  padding: 36px 0 72px;
}

.compare-table-shell {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #e8eef4;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(2, 12, 42, 0.04);
  overflow: hidden;
}

.compare-section .section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.compare-section .section-lead {
  font-size: 0.95rem;
  margin-bottom: 1.25rem !important;
}

.compare-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e8eef4;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.compare-table-shell .compare-wrap {
  border-top: none;
}

.compare-wrap::-webkit-scrollbar {
  height: 5px;
}

.compare-wrap::-webkit-scrollbar-track {
  background: #f8fafc;
}

.compare-wrap::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.compare-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  font-size: 0.84rem;
  border-collapse: separate;
  border-spacing: 0;
}

.compare-table thead th {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.compare-table thead .compare-th-capability {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-align: left;
  min-width: 140px;
  position: sticky;
  left: 0;
  z-index: 4;
  background: #f8fafc;
  box-shadow: 2px 0 6px -2px rgba(15, 23, 42, 0.06);
}

.compare-table thead .compare-th-plan {
  text-align: center;
  min-width: 120px;
  white-space: normal;
}

.compare-table thead .compare-th-plan--featured {
  background: #f0f7ff;
}

.compare-table thead .compare-th-plan-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.compare-table thead .compare-th-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 4px;
  line-height: 1.2;
}

.compare-table .compare-section-row th {
  background: linear-gradient(180deg, #1a3358 0%, #0f2444 100%);
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 0.95rem 1rem;
  border-top: none;
  border-bottom: 1px solid #0a1a33;
  position: sticky;
  left: 0;
  z-index: 3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.compare-table tbody tr.compare-section-row + tr.compare-data-row th[scope="row"],
.compare-table tbody tr.compare-section-row + tr.compare-data-row td {
  border-top: none;
}

.compare-table tbody tr.compare-section-row:not(:first-child) th {
  border-top: 3px solid #e2e8f0;
}

.compare-table tbody tr.compare-data-row th[scope="row"] {
  background: #fff;
  color: #475569;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.72rem 0.8rem;
  white-space: nowrap;
  border-bottom: 1px solid #f4f6f9;
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 140px;
  box-shadow: 2px 0 6px -2px rgba(15, 23, 42, 0.03);
}

.compare-table tbody tr.compare-data-row:nth-child(even) th[scope="row"] {
  background: #fafbfc;
}

.compare-table td {
  padding: 0.72rem 0.75rem;
  border-bottom: 1px solid #f4f6f9;
  vertical-align: middle;
  color: #475569;
  text-align: center;
  white-space: nowrap;
}

.compare-table td.col-recommended {
  background: #f8faff;
}

.compare-table tbody tr.compare-data-row:nth-child(even) td:not(.col-recommended) {
  background: #fafbfc;
}

.compare-table tbody tr.compare-data-row:nth-child(even) td.col-recommended {
  background: #f3f7ff;
}

.compare-table .compare-cta-row th[scope="row"] {
  background: #f1f5f9;
  font-weight: 700;
  font-size: 0.82rem;
  color: #334155;
  vertical-align: middle;
  border-top: 1px solid #e2e8f0;
  box-shadow: 2px 0 6px -2px rgba(15, 23, 42, 0.04);
}

.compare-table .compare-cta-row td {
  background: #f8fafc;
  padding: 0.95rem 0.55rem;
  white-space: normal;
  vertical-align: middle;
  border-top: 1px solid #e2e8f0;
}

.compare-table .compare-cta-row td.col-recommended {
  background: #f0f5ff;
}

.compare-cell-cta {
  display: inline-block;
  width: 100%;
  max-width: 10.5rem;
  min-width: 0;
  padding: 0.52rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--vs-blue-600);
  border: none;
  border-radius: 8px;
  white-space: normal;
  box-shadow: 0 1px 6px rgba(37, 99, 235, 0.15);
}

.compare-cell-cta:hover {
  background: #1d4ed8;
  color: #fff;
}

.compare-cell-cta--featured {
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
}

.compare-cell-cta--enterprise {
  font-size: 0.76rem;
  padding: 0.52rem 0.55rem;
  background: #475569;
}

.compare-cell-cta--enterprise:hover {
  background: #334155;
}

.cell-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #f0fdf4;
  color: #16a34a;
  font-weight: 700;
  font-size: 0.68rem;
}

.cell-dash {
  color: #e2e8f0;
  font-weight: 500;
}

.cell-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
}


.interest-section {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.card-soft .iti {
  width: 100%;
  display: block;
}

.card-soft .iti input,
.card-soft .iti input[type="tel"] {
  width: 100% !important;
  border-radius: 10px;
  border: 1px solid #dbe4f5;
  padding-left: 52px;
}

.card-soft .iti input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.16rem rgba(59, 130, 246, 0.2);
}

.card-soft .iti--allow-dropdown .iti__flag-container,
.card-soft .iti--show-selected-dial-code .iti__flag-container {
  border-radius: 10px 0 0 10px;
}

.card-soft .iti input.is-invalid {
  border-color: #dc3545;
}

.interest-section .section-lead {
  max-width: 720px;
  color: var(--vs-text-muted);
}

.form-section-block {
  padding: 1.25rem 0 0.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid #e8eef9;
}

.form-section-block:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.form-section-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--vs-navy-900);
  margin-bottom: 0.15rem;
}

.form-section-desc {
  font-size: 0.88rem;
  color: var(--vs-text-muted);
  margin-bottom: 1rem;
}

.form-helper {
  font-size: 0.84rem;
  color: var(--vs-text-muted);
  margin-top: -0.35rem;
  margin-bottom: 0.75rem;
}

.interest-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.55rem;
}

.interest-card {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.interest-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.interest-card-body {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #dbe4f5;
  border-radius: 10px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vs-text-dark);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  min-height: 2.75rem;
}

.interest-card-check {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: transparent;
}

.interest-card input:focus-visible + .interest-card-body {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.interest-card input:checked + .interest-card-body {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.interest-card input:checked + .interest-card-body .interest-card-check {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

@media (max-width: 767.98px) {
  .subscription-hero {
    padding-top: 68px;
    padding-bottom: 40px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .compare-table thead .compare-th-plan {
    min-width: 108px;
  }

  .compare-table thead .compare-th-plan-name {
    font-size: 0.88rem;
  }

  .compare-cell-cta {
    font-size: 0.72rem;
    max-width: 100%;
  }

  .interest-checkbox-grid {
    grid-template-columns: 1fr;
  }
}
