/* ==========================================================================
   DESIGN4FUTURE — MANAGED CARE & SMART QUOTE BUILDER STYLESHEET
   Extends styles/main.css design system tokens.
   Mobile-first, responsive, accessible, dark-first premium aesthetic.
   ========================================================================== */

/* --- Pricing Grid & Cards --- */
.pricing-section {
  padding: 6rem 0;
  position: relative;
}

.pricing-controls-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Currency Switcher Component */
.currency-switcher-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.currency-switcher-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.currency-toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.currency-toggle-btn:hover {
  color: var(--text-primary);
}

.currency-toggle-btn.active {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

/* Billing Frequency Switcher Component */
.billing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  max-width: 100%;
  white-space: nowrap !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  user-select: none;
}

.billing-toggle-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap !important;
  transition: color var(--transition-fast);
}

.billing-toggle-label.active {
  color: var(--text-primary);
}

.billing-toggle-label .billing-suffix {
  display: inline;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
  border-radius: var(--radius-full);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: var(--transition-normal);
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: rgba(0, 240, 255, 0.2);
  border-color: var(--accent-cyan);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.save-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-left: 0.45rem;
  line-height: 1.2;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 240, 255, 0.12);
}

.pricing-card.featured {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(18, 24, 36, 0.95) 0%, rgba(11, 15, 23, 0.95) 100%);
  box-shadow: 0 10px 40px -10px rgba(0, 240, 255, 0.2), 0 0 30px rgba(0, 240, 255, 0.1);
  transform: scale(1.03);
  z-index: 2;
  padding-top: 2.85rem;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.card-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #0B0F17;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.32rem 1.1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
  pointer-events: none;
}

.plan-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 48px;
}

.plan-price-wrap {
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-highlight);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.plan-savings-callout {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.special-setup-offer {
  background: rgba(0, 240, 255, 0.08);
  border: 1px dashed rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-highlight);
  line-height: 1.4;
}

.special-setup-offer strong {
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.25rem;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-highlight);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.plan-features-list li i {
  color: var(--accent-cyan);
  margin-top: 0.2rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.plan-cta {
  width: 100%;
  text-align: center;
  padding: 0.9rem 1.5rem;
}

/* --- Problems We Solve Section --- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.problem-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-3px);
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.problem-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.problem-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- What We Take Care Of Cards --- */
.care-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.care-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: var(--transition-normal);
}

.care-feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.care-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.care-feature-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.care-feature-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Scope Protection Banner / Exclusions --- */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.scope-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
}

.scope-card.included {
  border-color: rgba(16, 185, 129, 0.3);
}

.scope-card.excluded {
  border-color: rgba(245, 158, 11, 0.3);
}

.scope-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.scope-header.included i {
  color: #10B981;
}

.scope-header.excluded i {
  color: #F59E0B;
}

.scope-list {
  list-style: none;
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-highlight);
  line-height: 1.45;
}

.scope-list li i {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.scope-list.included li i {
  color: #10B981;
}

.scope-list.excluded li i {
  color: #F59E0B;
}

/* --- Process / How It Works --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(0, 240, 255, 0.25);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Growth Add-ons Menu --- */
.addons-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.addon-card {
  background: rgba(18, 24, 36, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.addon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 16px rgba(0, 240, 255, 0.08);
}

.addon-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.addon-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-highlight);
}

.addon-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.addon-price small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.addon-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.addon-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

.addon-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.addon-features li i {
  color: #4ADE80;
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

/* --- Comparison Matrix --- */
.comparison-wrap {
  margin-top: 3.5rem;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

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

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-highlight);
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-check {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.comparison-cross {
  color: var(--text-muted);
  opacity: 0.4;
}

/* --- FAQ Accordion --- */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 820px;
  margin: 2.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question i {
  color: var(--accent-cyan);
  transition: transform var(--transition-normal);
  font-size: 0.9rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   SMART QUOTE BUILDER WIZARD STYLES (/quote)
   ========================================================================== */

.quote-page-wrap {
  padding: 3rem 0 6rem 0;
  min-height: calc(100vh - var(--nav-height));
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* Wizard Progress */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.wizard-step-node {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.wizard-step-node.active {
  color: var(--accent-cyan);
}

.wizard-step-node.completed {
  color: var(--text-primary);
}

.wizard-step-node .node-index {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.wizard-step-node.active .node-index {
  background: var(--accent-cyan);
  color: #0B0F17;
  font-weight: 800;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.wizard-step-node.completed .node-index {
  background: var(--accent-blue);
  color: #FFFFFF;
}

/* Wizard Form Cards */
.wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.wizard-step-panel {
  display: none;
}

.wizard-step-panel.active {
  display: block;
  animation: fadeInStep 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-header {
  margin-bottom: 2rem;
}

.wizard-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.wizard-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Selection Tiles */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.tile-choice {
  position: relative;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: var(--transition-fast);
  user-select: none;
}

.tile-choice:hover {
  border-color: var(--border-hover);
  background: rgba(0, 240, 255, 0.04);
}

.tile-choice input[type="radio"],
.tile-choice input[type="checkbox"] {
  position: absolute;
  top: 1rem;
  right: 1rem;
  accent-color: var(--accent-cyan);
}

.tile-choice.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.tile-icon {
  font-size: 1.35rem;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.tile-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.tile-caption {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.tile-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 0.25rem;
}

/* Wizard Navigation Controls */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Live Quote Summary Drawer / Card */
.quote-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.quote-ref-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.summary-line-items {
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.summary-row.bold {
  color: var(--text-primary);
  font-weight: 600;
}

.summary-row.accent {
  color: var(--accent-cyan);
  font-weight: 600;
}

.summary-row.total-setup {
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-subtle);
}

.summary-recurring-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.recurring-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.recurring-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  line-height: 1.1;
}

.recurring-frequency {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.review-flag-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.8rem;
  color: #FCD34D;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  display: flex;
  gap: 0.5rem;
}

.review-flag-box i {
  color: #F59E0B;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.estimate-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.handoff-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #07150A;
  font-weight: 700;
  border: none;
}

.btn-whatsapp:hover {
  background: #20BD5A;
  color: #07150A;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-upwork {
  background: #14A800;
  color: #FFFFFF;
  font-weight: 700;
  border: none;
}

.btn-upwork:hover {
  background: #108A00;
  box-shadow: 0 4px 15px rgba(20, 168, 0, 0.4);
}

/* AI Free-Text Box */
.ai-advisor-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(0, 240, 255, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.ai-advisor-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.ai-advisor-header i {
  color: var(--accent-cyan);
}

.ai-advisor-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.ai-advisor-input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
}

.ai-advisor-input:focus {
  border-color: var(--accent-cyan);
}

.ai-suggestion-result {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: rgba(0, 240, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-highlight);
  display: none;
}

/* Printable Estimate View */
@media print {
  body {
    background: #FFFFFF !important;
    color: #111827 !important;
  }
  .header-nav, .wizard-actions, .handoff-btn-group, .ai-advisor-box, .wizard-progress, .btn {
    display: none !important;
  }
  .quote-layout {
    display: block !important;
  }
  .quote-summary-card, .wizard-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #111827 !important;
    box-shadow: none !important;
    position: static !important;
    padding: 1.5rem !important;
  }
  .gradient-text {
    -webkit-text-fill-color: #111827 !important;
    color: #111827 !important;
  }
  .quote-ref-badge, .save-pill {
    border: 1px solid #111827 !important;
    color: #111827 !important;
    background: none !important;
  }
  .recurring-price {
    color: #111827 !important;
  }
}

/* --- Mobile / Tablet Media Queries --- */
@media (max-width: 1200px) and (min-width: 901px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
  .addons-grid {
    grid-template-columns: 1fr !important;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .scope-grid {
    grid-template-columns: 1fr;
  }
  .quote-layout {
    grid-template-columns: 1fr;
  }
  .quote-summary-card {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .care-features-grid {
    grid-template-columns: 1fr;
  }
  .wizard-progress {
    overflow-x: auto;
    padding: 0.75rem 1rem;
    gap: 1rem;
    justify-content: flex-start;
  }
  .wizard-step-node span:not(.node-index) {
    display: none; /* Icon/number only on compact mobile */
  }
  .wizard-card {
    padding: 1.5rem 1.25rem;
  }
  .tiles-grid {
    grid-template-columns: 1fr;
  }

  .table-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
  }

  .comparison-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
  }

  .comparison-table {
    min-width: 580px;
  }

  .faq-item.active .faq-answer {
    max-height: 1000px;
  }
}

@media (max-width: 600px) {
  .pricing-controls-wrap {
    gap: 0.85rem !important;
    margin-bottom: 2.25rem !important;
  }

  .currency-switcher-wrap {
    padding: 0.25rem 0.4rem;
    gap: 0.35rem;
  }

  .currency-switcher-label {
    font-size: 0.75rem;
    padding-left: 0.35rem;
  }

  .currency-toggle-btn {
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
  }

  .billing-toggle-wrap {
    gap: 0.55rem;
    padding: 0.35rem 0.65rem;
    max-width: calc(100vw - 2rem);
  }

  .billing-toggle-label {
    font-size: 0.82rem;
  }

  /* Compact mode on phones: displays "Monthly" and "Annual" with save badge */
  .billing-toggle-label .billing-suffix {
    display: none;
  }

  .toggle-switch {
    width: 44px;
    height: 24px;
    flex-shrink: 0;
  }

  .toggle-slider:before {
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
  }

  .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
  }

  .save-pill {
    font-size: 0.65rem;
    padding: 0.15rem 0.42rem;
    margin-left: 0.25rem;
    flex-shrink: 0;
  }

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

  .handoff-secondary-grid {
    grid-template-columns: 1fr !important;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
  }

  .price-amount {
    font-size: 2.35rem;
  }
}
