/* ==========================================================================
   Marveo — Plans & Pricing Landing Page Design System (Vanilla CSS)
   Curated HSL light editorial palette · Zero external framework dependencies
   ========================================================================== */

:root {
  /* Surfaces */
  --surface-page: hsl(256, 45%, 99%);
  --surface-card: #ffffff;
  --surface-subtle: hsl(256, 50%, 97%);
  --surface-muted: hsl(254, 42%, 94.5%);
  --surface-ink: hsl(242, 78%, 13%);

  /* Typography Ink */
  --ink-primary: hsl(242, 78%, 13%);    /* #09083c — official Marveo wordmark ink */
  --ink-secondary: hsl(245, 23%, 33%);
  --ink-muted: hsl(247, 15%, 48%);
  --ink-disabled: hsl(248, 14%, 64%);

  /* Hairlines & Borders */
  --border-subtle: hsl(252, 28%, 90%);
  --border-strong: hsl(252, 24%, 81%);

  /* Brand Interactive Tokens */
  --brand-primary: hsl(255, 97%, 47%);  /* #3d03ec */
  --brand-hover: hsl(255, 95%, 39%);
  --brand-soft: hsl(256, 88%, 95.5%);
  --brand-ink: hsl(255, 85%, 36%);

  /* Semantic Status */
  --positive: hsl(158, 78%, 29%);
  --positive-soft: hsl(156, 64%, 93%);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(9, 8, 60, 0.04), 0 4px 12px rgba(9, 8, 60, 0.03);
  --shadow-card: 0 2px 6px rgba(9, 8, 60, 0.04), 0 18px 42px rgba(9, 8, 60, 0.055);
  --shadow-featured: 0 8px 20px rgba(9, 8, 60, 0.07), 0 30px 68px rgba(9, 8, 60, 0.11);
  --shadow-modal: 0 24px 72px rgba(9, 8, 60, 0.22);

  /* Radii & Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container-max: 1220px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-primary);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Sticky Top Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 254, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 221, 240, 0.78);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-svg {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--brand-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Segmented Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.lang-btn.active {
  background: var(--surface-card);
  color: var(--ink-primary);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.18s ease,
              border-color 0.18s ease,
              box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible,
.lang-btn:focus-visible,
.billing-btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(61, 3, 236, 0.22);
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(61, 3, 236, 0.28);
}

.btn-dark {
  background: var(--surface-ink);
  color: #ffffff;
}

.btn-dark:hover {
  background: hsl(242, 70%, 20%);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface-card);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--ink-primary);
  background: var(--surface-subtle);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
  border-radius: 9px;
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 14.5px;
}

/* ==========================================================================
   Hero & Billing Switcher
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 76px 0 44px;
  overflow: hidden;
}

.hero-wave-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 540px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-wave-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(252, 251, 254, 0.16) 0%,
    rgba(252, 251, 254, 0.35) 55%,
    var(--surface-page) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 4.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
}

.hero-subtitle {
  margin: 0 auto 34px;
  max-width: 640px;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.58;
  color: var(--ink-secondary);
}

/* Billing Toggle Control */
.billing-control-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.billing-btn {
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.billing-btn.active {
  background: var(--surface-ink);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(9, 8, 60, 0.18);
}

.discount-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--positive-soft);
  color: var(--positive);
}

.billing-btn.active .discount-chip {
  background: #34d399;
  color: #052e1e;
}

.billing-policy-note {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

/* ==========================================================================
   3 Pricing Cards Grid
   ========================================================================== */

.plans-section {
  position: relative;
  z-index: 2;
  padding: 12px 0 64px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan-card--featured {
  border-color: var(--ink-primary);
  box-shadow: var(--shadow-featured);
  transform: translateY(-8px);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--surface-ink);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}

.plan-header {
  margin-bottom: 20px;
}

.plan-tier-name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.plan-summary {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.52;
  color: var(--ink-secondary);
  min-height: 116px;
}

/* Price Display */
.plan-pricing {
  padding: 18px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 44px;
}

.price-figure {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.price-figure--custom {
  font-size: 32px;
  letter-spacing: -0.03em;
}

.price-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}

.price-strike {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-disabled);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.price-meta-line {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
  min-height: 22px;
}

.savings-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--positive-soft);
  color: var(--positive);
  font-size: 11.5px;
  font-weight: 700;
}

/* Key Specs Strip (Hairline List, Zero Nested Cards) */
.plan-specs-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
}

.spec-label {
  color: var(--ink-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--ink-primary);
  font-weight: 700;
  text-align: right;
}

.spec-val--highlight {
  color: var(--brand-ink);
}

/* Feature Lists */
.features-heading {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.feature-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.feature-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.44;
  color: var(--ink-secondary);
}

.feature-items li strong {
  color: var(--ink-primary);
  font-weight: 700;
}

.icon-check {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-primary);
}

.excluded-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
}

.excluded-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.excluded-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-disabled);
}

.icon-minus {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ink-disabled);
}

/* ==========================================================================
   Interactive Seat & Cost Estimator
   ========================================================================== */

.estimator-section {
  padding: 20px 0 72px;
}

.estimator-panel {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 36px;
  align-items: center;
}

.section-eyebrow {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink-primary);
}

.section-desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.seat-slider-box {
  margin-top: 22px;
}

.seat-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.seat-slider-top label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-primary);
}

.seat-count-readout {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
}

.seat-range {
  width: 100%;
  height: 6px;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

.seat-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.estimator-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.est-col {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.est-col.recommended {
  background: var(--brand-soft);
  border-color: rgba(61, 3, 236, 0.35);
}

.est-tier {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-primary);
}

.est-price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.est-Detail {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-muted);
}

/* ==========================================================================
   Full 22-Row Comparison Matrix
   ========================================================================== */

.compare-section {
  padding: 24px 0 80px;
}

.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.diff-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  user-select: none;
}

.diff-filter-label input {
  accent-color: var(--brand-primary);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.table-scroll {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13.8px;
  vertical-align: middle;
}

.compare-table thead th {
  background: var(--surface-subtle);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink-primary);
  padding-top: 18px;
  padding-bottom: 18px;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
  width: 21.5%;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink-primary);
  width: 35.5%;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover {
  background: rgba(245, 241, 253, 0.55);
}

/* Highlight Premium column subtly */
.compare-table th.col-featured {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.compare-table td.col-featured {
  background: rgba(238, 231, 254, 0.28);
  font-weight: 600;
}

.cell-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--positive);
  font-weight: 700;
}

.cell-no {
  color: var(--ink-disabled);
  font-weight: 600;
}

.cell-unlimited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12.5px;
  font-weight: 800;
}

.icon-inf {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ent-foot-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 12.8px;
  line-height: 1.48;
  color: var(--ink-muted);
}

.cell-optional {
  font-size: 12.8px;
  color: var(--ink-muted);
}

.compare-table tr.hidden-row {
  display: none;
}

/* ==========================================================================
   Optional Add-Ons Section
   ========================================================================== */

.addons-section {
  padding: 12px 0 88px;
}

.addons-header {
  max-width: 680px;
  margin-bottom: 28px;
}

.addons-list {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.addon-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.addon-row:last-child {
  border-bottom: 0;
}

.addon-title {
  margin: 0 0 3px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink-primary);
}

.addon-sub {
  margin: 0;
  font-size: 13.2px;
  color: var(--ink-secondary);
}

.addon-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tier-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  border: 1px solid var(--border-subtle);
}

.tier-tag--ent {
  background: var(--positive-soft);
  color: var(--positive);
  border-color: transparent;
  font-weight: 700;
}

.addon-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-primary);
  text-align: right;
  white-space: nowrap;
}

/* ==========================================================================
   Bottom Enterprise / Contact Banner & Footer
   ========================================================================== */

.cta-section {
  padding: 0 0 84px;
}

.cta-banner {
  background: var(--surface-ink);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-featured);
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.cta-banner p {
  margin: 0;
  max-width: 580px;
  font-size: 15px;
  color: rgba(236, 231, 255, 0.84);
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-white {
  background: #ffffff;
  color: var(--ink-primary);
}

.btn-white:hover {
  background: var(--surface-subtle);
  transform: translateY(-1px);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0 48px;
  color: var(--ink-muted);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 26px;
  width: auto;
}

/* ==========================================================================
   Plan Selection / Demo Request Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 8, 60, 0.48);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 500px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  box-shadow: var(--shadow-modal);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-top h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
}

.modal-top p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.modal-close {
  border: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 5px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  font-size: 14px;
  background: var(--surface-page);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-summary-bar {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.quote-summary-bar strong {
  font-size: 16px;
  color: var(--brand-primary);
}

.form-status {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--positive);
  display: none;
}

.form-status.visible {
  display: block;
}

/* ==========================================================================
   Floating Marveo Copilot Assistant Launcher + Popover
   ========================================================================== */

.mc-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-tooltip {
  background: var(--surface-card);
  color: var(--ink-primary);
  border: 1px solid var(--border-subtle);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mc-widget:hover .mc-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.mc-widget.open .mc-tooltip {
  opacity: 0;
}

.mc-launcher {
  position: relative;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 19px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc-launcher:hover {
  transform: translateY(-3px) scale(1.04);
}

.mc-launcher-surface {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(72, 4, 245, 0.32);
}

.mc-icon-svg,
.mc-icon-close {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transition: opacity 0.2s ease, transform 0.24s ease;
}

.mc-icon-close {
  display: grid;
  place-items: center;
  background: var(--surface-ink);
  color: #ffffff;
  opacity: 0;
  transform: rotate(-40deg) scale(0.75);
}

.mc-widget.open .mc-icon-svg {
  opacity: 0;
  transform: rotate(35deg) scale(0.75);
}

.mc-widget.open .mc-icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.mc-panel {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 150;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mc-panel-head {
  padding: 15px 18px;
  background: var(--surface-ink);
  color: #ffffff;
}

.mc-panel-head strong {
  display: block;
  font-size: 14px;
}

.mc-panel-head span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.mc-panel-body {
  padding: 14px 16px;
  max-height: 290px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-bubble {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-subtle);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-primary);
}

.mc-bubble--user {
  align-self: flex-end;
  background: var(--brand-primary);
  color: #ffffff;
}

.mc-quick-prompts {
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mc-chip {
  border: 1px solid var(--border-strong);
  background: var(--surface-page);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.8px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
}

.mc-chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1040px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .plan-card--featured {
    transform: none;
  }

  .plan-summary {
    min-height: 0;
  }

  .estimator-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .addon-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .addon-price {
    text-align: left;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
}

@media (max-width: 760px) {
  .brand-logo-svg {
    height: 28px;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    padding: 52px 0 32px;
  }

  .billing-toggle {
    width: 100%;
    max-width: 400px;
    justify-content: space-between;
  }

  .billing-btn {
    flex: 1;
    justify-content: center;
    padding: 9px 12px;
    font-size: 13px;
  }

  .estimator-results {
    grid-template-columns: 1fr;
  }

  .estimator-panel {
    padding: 24px 20px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
