/* Invoxn refinements — typography, colors, layout polish */

:root {
  --navy-deep: #001a33;
  --navy-mid: #002b55;
  --navy-card: rgba(255, 255, 255, 0.06);
  --navy-border: rgba(255, 255, 255, 0.12);
}

/* Stable in-page anchor scroll (fixed header + lazy-load layout shifts) */
main {
  overflow-anchor: none;
}

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

/* One font family: Plus Jakarta Sans — titles bold, body regular */
h1, h2, h3, h4,
.page-title,
.section-head,
.showcase-copy h3,
.role-card h3,
.platform-card h3,
.workflow-card h4,
.cta-panel h2 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.page-title {
  font-weight: 800 !important;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem) !important;
}

p,
.hero-lead,
.section-sub,
.pain-text,
.platform-card p,
.showcase-copy p,
.workflow-card p,
.role-card p,
.faq-a-inner,
.metric span {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 400;
}

.section--compact {
  padding: 3.5rem 0 !important;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head--center {
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
}

.section-sub--center {
  margin: 0 auto !important;
}

/* Nav active state on scroll */
.nav-links a.nav-link.is-active,
.mobile-menu a.nav-link.is-active {
  color: var(--primary) !important;
  background: rgba(0, 86, 179, 0.1);
  font-weight: 600;
}

/* Problem list — brand icons, aligned with text */
.pain-list {
  margin-top: 1.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.9rem 1rem !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--border) !important;
  border-radius: 10px;
}

.pain-icon {
  flex-shrink: 0;
  width: 38px !important;
  height: 38px !important;
  margin-top: 2px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 86, 179, 0.1) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(0, 86, 179, 0.18) !important;
  border-radius: 8px;
  font-size: 0 !important;
}

.pain-text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-2);
  padding-top: 0.35rem;
}

/* Hero accent — solid brand blue (avoids broken gradient bar) */
.headline-accent {
  color: #0056b3 !important;
  display: inline;
}

.hero-support {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 32rem;
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.problem-close {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.value-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.value-copy .section-head {
  max-width: none;
  margin-bottom: 0.75rem;
}

.value-copy .section-sub {
  margin: 0;
}

.value-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-benefits li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.value-benefits li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.hero-trust li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* Platform — equal 3×2 card grid */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.platform-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:hover {
  border-color: rgba(0, 86, 179, 0.22);
  box-shadow: 0 10px 28px rgba(0, 26, 51, 0.07);
}

.platform-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: rgba(0, 86, 179, 0.08);
  color: var(--primary);
  border: 1px solid rgba(0, 86, 179, 0.12);
}

.platform-card h3 {
  font-size: 1rem !important;
  margin-bottom: 0.45rem !important;
}

.platform-card p {
  font-size: 0.875rem !important;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}

.platform-banner {
  margin-top: 1.25rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.platform-banner img {
  width: 100%;
  display: block;
}

/* Dark workflow section — indexOld-style navy */
.workflow-section {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy-mid) 42%, var(--navy-deep) 100%) !important;
}

.workflow-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-label--light {
  color: #7ec8e8 !important;
}

.section-head--light {
  color: #fff !important;
  max-width: none !important;
}

.section-sub--light {
  color: #94a3b8 !important;
  margin: 0 auto;
}

/* Workflow — 4 top row, 3 centered bottom (reference layout) */
.workflow-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0 !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

@media (min-width: 576px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .workflow-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .workflow-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .workflow-card {
    grid-column: span 3;
  }

  .workflow-card:nth-child(5) {
    grid-column: 2 / span 3;
  }

  .workflow-card:nth-child(6) {
    grid-column: 5 / span 3;
  }

  .workflow-card:nth-child(7) {
    grid-column: 8 / span 3;
  }
}

.workflow-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
}

.workflow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  background: rgba(0, 86, 179, 0.35);
  border: 1px solid rgba(126, 200, 232, 0.35);
  color: #b8e4ff;
}

.workflow-card h4 {
  font-size: 0.95rem !important;
  color: #fff !important;
  margin-bottom: 0.4rem !important;
}

.workflow-card p {
  font-size: 0.82rem !important;
  line-height: 1.45;
  color: #94a3b8 !important;
  margin: 0;
}

.workflow-outcome {
  margin-top: 2rem;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--navy-border);
}

.workflow-outcome p {
  color: #cbd5e1 !important;
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 1.25rem !important;
}

.workflow-outcome .btn-primary {
  display: inline-flex;
}

/* Pricing — same navy theme as workflow */
.pricing-section {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy-mid) 42%, var(--navy-deep) 100%) !important;
}

.pricing-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-head--center {
  max-width: none !important;
  text-align: center;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--navy-border);
}

.pricing-toggle__btn {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.pricing-toggle__btn:hover {
  color: #cbd5e1;
}

.pricing-toggle__btn.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  height: 100%;
}

.pricing-card--featured {
  border-color: rgba(126, 200, 232, 0.45);
  box-shadow: 0 0 0 1px rgba(72, 202, 228, 0.15), 0 12px 40px rgba(0, 0, 0, 0.25);
}

.pricing-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 86, 179, 0.45);
  border: 1px solid rgba(126, 200, 232, 0.35);
  color: #b8e4ff;
}

.pricing-card__name {
  font-size: 1.2rem !important;
  color: #fff !important;
  margin: 0 0 0.35rem !important;
}

.pricing-card__audience {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0 0 1.25rem;
  min-height: 2.5em;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  margin-bottom: 0.35rem;
}

.pricing-card__amount {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.95rem;
  font-weight: 500;
  color: #94a3b8;
}

.pricing-card__compare {
  font-size: 0.8rem;
  color: #7ec8e8;
  margin: 0 0 0.5rem;
  min-height: 1.2em;
}

.pricing-card__compare s {
  color: #64748b;
}

.pricing-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
  background: rgba(0, 86, 179, 0.35);
  border: 1px solid rgba(126, 200, 232, 0.35);
  color: #b8e4ff;
}

.pricing-card__badge[hidden],
.pricing-card__compare[hidden] {
  display: none !important;
}

.pricing-card__trial {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 1.15rem;
}

.pricing-card__cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pricing-card__cta--outline {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  background: transparent !important;
}

.pricing-card__cta--outline:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--navy-border);
  padding-top: 1.15rem;
  flex: 1;
}

.pricing-card__features li {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #cbd5e1;
  padding: 0.4rem 0 0.4rem 1.35rem;
  position: relative;
}

.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: rgba(72, 202, 228, 0.5);
}

.pricing-card__features strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7ec8e8;
  margin-bottom: 0.1rem;
}

.pricing-tax-note {
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  margin: 1.75rem 0 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep) !important;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #48cae4 !important;
}


/* Showcase headings */
.showcase-copy h3 {
  font-size: 1.5rem !important;
}

.showcase-row {
  margin-bottom: 2.5rem !important;
}
