.estimator-shell {
  padding: 0 1rem 2rem;
}

@media (min-width: 768px) {
  .estimator-shell { padding: 0 2rem 2rem; }
}

.estimator-container {
  max-width: 72rem;
}

.estimator-container .back-link {
  margin-top: 1.5rem;
}

/* Live summary bar, pinned to the top of the viewport as the user scrolls
   through the options below */
.estimate-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 3, 24, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.estimate-bar-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .estimate-bar-inner { padding: 1rem 2rem; justify-content: center; gap: 4rem; }
}

.breakdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  color: var(--purple-300);
  font-size: 0.8rem;
  transition: all 0.2s;
}

.breakdown-toggle:hover:not(:disabled) {
  color: var(--purple-100);
  border-color: var(--purple-400);
  background: rgba(168, 85, 247, 0.1);
}

.breakdown-toggle:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.breakdown-toggle .breakdown-chevron {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.2s;
}

.breakdown-toggle[aria-expanded="true"] .breakdown-chevron {
  transform: rotate(180deg);
}

.estimate-breakdown {
  border-top: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(0, 0, 0, 0.3);
}

.estimate-breakdown-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 768px) {
  .estimate-breakdown-inner { padding: 1.25rem 2rem; }
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: rgba(216, 180, 254, 0.85);
}

.breakdown-row-price {
  flex-shrink: 0;
  color: var(--purple-200);
}

.breakdown-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 0.25rem;
  margin-top: 0.35rem;
  border-top: 1px solid rgba(168, 85, 247, 0.25);
  font-weight: 700;
  color: var(--purple-100);
}

.breakdown-compare {
  margin: 0.75rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(168, 85, 247, 0.25);
  font-size: 0.8rem;
  color: rgba(216, 180, 254, 0.65);
  line-height: 1.5;
}

.breakdown-compare strong {
  color: var(--green-300);
}

.estimate-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.estimate-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-400);
  margin-bottom: 0.2rem;
}

.estimate-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--purple-100);
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .estimate-stat-value { font-size: 1.75rem; }
}

.estimator-header {
  margin: 2rem 0 2.5rem;
}

.estimator-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reset-link {
  flex-shrink: 0;
  margin: 0.75rem 0 1rem;
  background: none;
  border: none;
  color: var(--purple-400);
  font-size: 0.85rem;
  text-decoration: underline;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .reset-link { margin: 0; }
}

.reset-link:hover {
  color: var(--purple-200);
}

.estimator-header h1 {
  font-size: 1.9rem;
  margin: 0 0 0.75rem;
  background: linear-gradient(to right, var(--purple-200), var(--purple-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--purple-200);
}

@media (min-width: 768px) {
  .estimator-header h1 { font-size: 2.4rem; }
}

.estimator-intro {
  color: rgba(216, 180, 254, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  max-width: 46rem;
}

.estimator-section {
  margin-bottom: 3rem;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-title {
  color: var(--purple-200);
  font-size: 1.3rem;
  margin: 0 0 0.35rem;
}

.section-subtitle {
  color: rgba(216, 180, 254, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .option-grid { grid-template-columns: 1fr 1fr; }
}

.option-btn {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(59, 7, 100, 0.2);
  text-align: left;
  transition: all 0.15s;
}

.option-btn:hover {
  background: rgba(59, 7, 100, 0.35);
  border-color: rgba(168, 85, 247, 0.5);
}

.option-btn.selected {
  border-color: var(--purple-500);
  background: rgba(168, 85, 247, 0.15);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.option-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.option-btn .option-label {
  color: var(--purple-100);
  font-size: 1.1rem;
  font-weight: 600;
}

.option-btn .option-price {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--purple-400);
  white-space: nowrap;
}

.option-btn .option-desc {
  margin: 0 0 0.5rem;
  color: rgba(216, 180, 254, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

.option-btn .option-market {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(216, 180, 254, 0.55);
  font-style: italic;
}

.option-grid.features .option-btn {
  padding: 1rem 1.25rem;
}

.option-grid.features .option-label {
  font-size: 1rem;
}

.option-grid.features .option-desc {
  font-size: 0.85rem;
}

.contact-section {
  padding: 1.75rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .lead-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.contact-section .btn-glow {
  max-width: 320px;
}
