:root {
  --primary: #4c2874;
  --primary-dark: #3a1e5a;
  --primary-soft: #cfc0f7;
  --gradient-primary: linear-gradient(135deg, #4c2874 0%, #6e5bec 100%);
  --accent-green: #10b981;
  --accent-green-soft: #ecfdf5;
  --accent-green-bright: #34d399;
  --accent-red: #dc2626;
  --accent-red-soft: #fef2f2;
  --accent-red-bright: #f87171;
  --accent-orange: #ea580c;
  --accent-orange-soft: #fff7ed;
  --accent-orange-bright: #fb923c;
  --text-main: #333333;
  --text-muted: #707070;
  --bg-page: #fbfbfd;
  --bg-card: #ffffff;
  --input-bg-subtle: #fbfbfd;
  --border-soft: #e5e7eb;
  --radius-card: 16px;
  --radius-input: 8px;
  --shadow-card:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
* {
  box-sizing: border-box;
}
body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  margin: 0;
  padding: 40px 20px;
  line-height: 1.5;
}
.samaaro-calculator {
  max-width: 1000px;
  margin: 0 auto;
}
.text-green {
  color: var(--accent-green) !important;
}
.text-purple {
  color: var(--primary) !important;
}
.text-red {
  color: var(--accent-red) !important;
}
.text-muted {
  color: var(--text-muted) !important;
}
.text-white {
  color: #fff !important;
}

.samaaro-header {
  text-align: center;
  margin-bottom: 40px;
  background: var(--gradient-primary);
  background-image:
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.1) 10%,
      transparent 10%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.1) 20%,
      transparent 20%
    ),
    radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.05) 15%,
      transparent 15%
    ),
    var(--gradient-primary);
  padding: 60px 20px;
  border-radius: var(--radius-card);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(76, 40, 116, 0.4);
  position: relative;
  overflow: hidden;
}
.samaaro-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 2;
}
.samaaro-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.step-card.risk-card {
  border: 2px solid var(--accent-orange);
}
.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-soft);
}
.step-header.risk-header {
  border-bottom-color: var(--accent-orange);
}
.step-badge {
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-right: 12px;
  letter-spacing: 0.5px;
}
.step-badge.risk-badge {
  background: var(--accent-orange);
}
.step-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}
.samaaro-subheading {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 25px 0 15px 0;
}
.samaaro-subheading:first-of-type {
  margin-top: 0;
}

.samaaro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  align-items: start;
}
.input-wrapper {
  margin-bottom: 0;
}
.label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.input-icon {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}
.samaaro-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}
.samaaro-help {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  min-height: 16px;
  line-height: 1.4;
}
.samaaro-input,
.samaaro-select {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-soft);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.samaaro-input:focus,
.samaaro-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(76, 40, 116, 0.1);
}
.samaaro-input.yellow {
  background-color: var(--input-bg-subtle);
  border-color: var(--border-soft);
}
.samaaro-select.green {
  background-color: #f3f0ff;
  border-color: #e9e0ff;
  color: var(--primary);
  cursor: pointer;
}

/* ---- CUSTOM SELECT ---- */
.csel {
  position: relative;
  user-select: none;
}
.csel-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-input);
  border: 1px solid #e9e0ff;
  background: #f3f0ff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Montserrat", sans-serif;
}
.csel-trigger:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76, 40, 116, 0.08);
}
.csel.open .csel-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(76, 40, 116, 0.1);
  border-radius: var(--radius-input) var(--radius-input) 0 0;
}
.csel-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.csel-chevron {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.csel.open .csel-chevron {
  transform: rotate(180deg);
}
.csel-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--primary);
  border-top: none;
  border-radius: 0 0 var(--radius-input) var(--radius-input);
  box-shadow: 0 8px 24px rgba(76, 40, 116, 0.15);
  z-index: 100;
  overflow: hidden;
}
.csel.open .csel-panel {
  display: block;
  animation: cselDrop 0.18s ease-out;
}
@keyframes cselDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.csel-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  background: #fff;
}
.csel-opt:hover {
  background: #f8f4ff;
}
.csel-opt.selected {
  background: #f3f0ff;
}
.csel-opt-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.csel-opt-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}
.csel-opt-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.csel-check {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}
/* Funnel pills */
.funnel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.funnel-pill.tofu {
  background: #dcfce7;
  color: #15803d;
}
.funnel-pill.mofu {
  background: #fef9c3;
  color: #a16207;
}
.funnel-pill.bofu {
  background: #ede9fe;
  color: var(--primary);
}
/* Currency flag */
.currency-flag {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.samaaro-input.input-error,
.samaaro-select.input-error {
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
  background-color: var(--accent-red-soft) !important;
}
.field-error-msg {
  font-size: 11px;
  color: var(--accent-red);
  font-weight: 600;
  margin-top: 5px;
  display: none;
}
.input-wrapper.has-error .field-error-msg {
  display: block;
}

.output-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 10px;
  border-radius: 8px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 4px;
}
.output-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.output-row > div:first-child {
  flex: 1;
  padding-right: 20px;
}
.row-neutral {
  background-color: #f9fafb;
  border-bottom: none;
}
.row-negative {
  background-color: var(--accent-red-soft);
  border-bottom: none;
}
.row-positive {
  background-color: var(--accent-green-soft);
  border-bottom: none;
}
.row-warning {
  border-bottom: none;
}
.row-negative .samaaro-output-highlight,
.row-negative .samaaro-label,
.row-negative .samaaro-revenue-multiple {
  color: var(--accent-red);
}
.row-positive .samaaro-output-highlight,
.row-positive .samaaro-label,
.row-positive .samaaro-revenue-multiple {
  color: var(--accent-green);
}
.row-warning .samaaro-output-highlight,
.row-warning .samaaro-label {
  color: var(--accent-orange);
}
.row-neutral .samaaro-output-highlight,
.row-neutral .samaaro-revenue-multiple {
  color: var(--text-muted);
}
.samaaro-output {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
  white-space: nowrap;
}
.samaaro-output-highlight {
  font-size: 20px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.samaaro-revenue-multiple {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.risk-callout {
  background: var(--accent-orange-soft);
  border-left: 4px solid var(--accent-orange);
  padding: 12px 16px;
  margin-top: 15px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: var(--accent-orange);
  font-style: italic;
}

.exec-summary-container {
  margin-bottom: 30px;
  animation: fadeIn 0.5s ease-in-out;
}
.exec-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.exec-card {
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.exec-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.exec-card.manual {
  background: white;
  border: 1px solid var(--border-soft);
}
.exec-card.samaaro {
  background: var(--gradient-primary);
  color: white;
  border: none;
}
.exec-card.chart-card {
  background: white;
  border: 1px solid var(--border-soft);
  justify-content: center;
}
.exec-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.manual .exec-label {
  color: var(--text-muted);
}
.samaaro .exec-label {
  color: rgba(255, 255, 255, 0.8);
}
.chart-card .exec-label {
  color: var(--text-muted);
  margin-bottom: 20px;
}
.exec-big-num {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.manual .exec-big-num.positive {
  color: var(--accent-green);
}
.manual .exec-big-num.negative {
  color: var(--accent-red);
}
.manual .exec-big-num.neutral {
  color: var(--text-muted);
}
.samaaro .exec-big-num.positive {
  color: var(--accent-green-bright);
}
.samaaro .exec-big-num.negative {
  color: var(--accent-red-bright);
}
.samaaro .exec-big-num.neutral {
  color: white;
}
.exec-sub {
  font-size: 12px;
  font-weight: 600;
}
.samaaro .exec-sub {
  color: rgba(255, 255, 255, 0.9);
}
.exec-footer {
  font-size: 11px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  font-weight: 600;
}
.samaaro .exec-footer {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.chart-container {
  width: 100%;
  padding: 0 5px;
}
.progress-track {
  width: 100%;
  height: 24px;
  background: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  margin-bottom: 12px;
}
.progress-fill-base {
  height: 100%;
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  font-weight: 600;
  transition: width 0.5s ease;
}
.progress-fill-extra {
  height: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  font-weight: 600;
  transition: width 0.5s ease;
}
.chart-legend {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
}
.legend-item {
  text-align: left;
}
.legend-item:last-child {
  text-align: right;
}
.legend-val {
  font-weight: 700;
  display: block;
  font-size: 13px;
  margin-top: 2px;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}
.dot.base {
  background: var(--accent-green);
}
.dot.extra {
  background: var(--primary);
}

.samaaro-summary {
  background: var(--gradient-primary);
  background-image:
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.1) 10%,
      transparent 10%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.1) 20%,
      transparent 20%
    ),
    radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.05) 15%,
      transparent 15%
    ),
    var(--gradient-primary);
  color: white;
  padding: 24px;
  border-radius: var(--radius-card);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 15px -3px rgba(76, 40, 116, 0.3);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.samaaro-summary:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(76, 40, 116, 0.3);
}

.results-container {
  display: none;
  animation: slideDown 0.6s ease-out;
}
.gate-trigger-section {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}
.btn-calculate {
  background: var(--primary);
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 48px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(76, 40, 116, 0.4);
  transition: all 0.3s ease;
}
.btn-calculate:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(76, 40, 116, 0.5);
  background: var(--primary-dark);
}

.book-demo-container {
  text-align: center;
  margin-bottom: 30px;
}
.btn-book-demo {
  display: inline-block;
  background: var(--accent-green);
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 48px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
}
.btn-book-demo:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.5);
}
.cta-subtext {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Modal */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 18, 28, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.modal-backdrop::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 20% 80%,
      rgba(142, 107, 236, 0.18) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 60% at 80% 20%,
      rgba(76, 40, 118, 0.12) 0%,
      transparent 70%
    );
  pointer-events: none;
}
.modal-card {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  animation: modalSlideUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  position: relative;
  z-index: 1;
}
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-header {
  background: linear-gradient(135deg, #4c2876 0%, #8e6bec 100%);
  padding: 28px 32px 24px;
  position: relative;
  overflow: hidden;
}
.modal-header::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.modal-header::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.modal-tag svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.modal-header-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.modal-header-title em {
  font-style: italic;
}
.modal-header-sub {
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.modal-email-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.modal-email-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-email-icon svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}
.modal-email-caption {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}
.modal-email-caption strong {
  font-weight: 600;
  color: #fff;
}
.modal-body {
  padding: 28px 32px 32px;
}
.modal-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #374151;
  margin-bottom: 8px;
}
.modal-input-wrap {
  position: relative;
  margin-bottom: 8px;
}
.modal-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 1.8;
  pointer-events: none;
  transition: stroke 0.2s;
}
.modal-email-input {
  width: 100%;
  padding: 14px 14px 14px 44px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: #111827;
  background: #f9fafb;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.modal-email-input::placeholder {
  color: #9ca3af;
}
.modal-email-input:focus {
  border-color: #8e6bec;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(142, 107, 236, 0.12);
}
.modal-email-input.error {
  border-color: #f54848;
  background: #fff5f5;
  box-shadow: 0 0 0 4px rgba(245, 72, 72, 0.12);
}
.modal-hint {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 20px;
  padding-left: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.modal-hint svg {
  width: 13px;
  height: 13px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.error-msg {
  color: #f54848;
  font-size: 12px;
  margin-top: 6px;
  margin-bottom: 12px;
  display: none;
  font-weight: 500;
}
.btn-unlock {
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, #4c2876, #8e6bec);
  border: none;
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition:
    opacity 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(142, 107, 236, 0.35);
}
.btn-unlock:hover {
  opacity: 0.93;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(142, 107, 236, 0.42);
}
.btn-unlock:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-unlock svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.modal-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f3f4f6;
}
.modal-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-avatars {
  display: flex;
}
.modal-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-left: -7px;
}
.modal-avatar:first-child {
  margin-left: 0;
}
.modal-avatar.a1 {
  background: #4c2876;
}
.modal-avatar.a2 {
  background: #8e6bec;
}
.modal-avatar.a3 {
  background: #ebdd4f;
  color: #333;
}
.modal-proof-text {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.35;
}
.modal-proof-text strong {
  color: #374151;
  font-weight: 600;
}
.modal-privacy-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #9ca3af;
}
.modal-privacy-badge svg {
  width: 13px;
  height: 13px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 2;
}
.modal-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px 36px;
}
.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4c2876, #8e6bec);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(142, 107, 236, 0.35);
  animation: modalPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.1s;
}
@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-success-icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}
.modal-success-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.modal-success-msg {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 320px;
}
.modal-success-email {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  background: #f5f3ff;
  border: 1px solid #cfc0f7;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4c2876;
}

.methodology-section {
  background: #f8fafc;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
}
.methodology-toggle {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.methodology-toggle::-webkit-details-marker {
  display: none;
}
.methodology-toggle::after {
  content: "+";
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}
details[open] .methodology-toggle::after {
  content: "−";
}
.methodology-content {
  padding: 0 24px 24px;
  font-size: 12px;
  color: var(--text-muted);
}
.methodology-content strong {
  color: var(--text-main);
  display: block;
  margin: 16px 0 8px 0;
  font-size: 13px;
}
.methodology-content strong:first-of-type {
  margin-top: 0;
}
.methodology-content ul {
  padding-left: 20px;
  margin: 0 0 8px 0;
}
.methodology-content li {
  margin-bottom: 4px;
}
.methodology-disclaimer {
  background: var(--accent-green-soft);
  border-left: 3px solid var(--accent-green);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-main);
}

@media (max-width: 900px) {
  .exec-grid-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .samaaro-grid {
    grid-template-columns: 1fr;
  }
  .output-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .samaaro-output,
  .samaaro-output-highlight {
    text-align: left;
    white-space: normal;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
