/* Pricing page only (site-wide tokens + base styles live in site.css) */

.pricing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 4rem;
}

.guidance-notice {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
}

.guidance-notice h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.guidance-notice p {
  color: var(--gray);
  line-height: 1.8;
  margin-top: 0.75rem;
}

.pricing-calculator {
  background: white;
  border: 1px solid var(--gray-lighter);
  border-radius: 18px;
  padding: 2.75rem;
  box-shadow: 0 8px 28px rgba(11, 17, 32, 0.06);
  margin-bottom: 4rem;
}

.calculator-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.calculator-subtitle {
  color: var(--gray);
  margin-top: 0.5rem;
}

.calculator-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

.control-group label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.control-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--gray-lighter);
  font-family: inherit;
  background: white;
  color: var(--navy);
  outline: none;
}

.control-group select:focus {
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.tier-hint {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 0.55rem;
  line-height: 1.5;
}

.control-group.recommended {
  position: relative;
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06) 0%, rgba(56, 189, 248, 0.06) 100%);
}

.recommended-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.slider-container {
  border: 1px solid var(--gray-lighter);
  border-radius: 12px;
  padding: 1rem;
}

.slider-value {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.current-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
}

.slider-suffix {
  color: var(--gray);
}

#seats-slider {
  width: 100%;
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: var(--gray);
  font-size: 0.85rem;
}

/* Contract Toggle */
.contract-toggle {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-lighter);
}

.toggle-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.toggle-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.toggle-option {
  background: white;
  border: 2px solid var(--gray-lighter);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-family: inherit;
}

.toggle-option:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.toggle-option.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06) 0%, rgba(56, 189, 248, 0.06) 100%);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.term-name {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.term-detail {
  display: block;
  color: var(--gray);
  font-size: 0.85rem;
}

.bundle-notice {
  display: none;
  margin-top: 1.6rem;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--navy);
  padding: 1rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
}

.price-display {
  text-align: center;
  margin-top: 2.2rem;
}

.price {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.05;
}

.price-currency {
  font-size: 2.2rem;
  vertical-align: top;
  margin-right: 0.2rem;
}

.period {
  color: var(--gray);
  margin-top: 0.6rem;
}

.price-breakdown {
  margin-top: 2rem;
  border-top: 1px solid var(--gray-lighter);
  padding-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--navy);
  font-weight: 650;
}

.breakdown-item span:last-child {
  white-space: nowrap;
}

.breakdown-item.savings {
  color: var(--accent);
  font-weight: 800;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

/* Scope sections */
.scope-section {
  margin: 4rem 0;
}

.scope-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2rem;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.scope-box {
  background: white;
  border: 2px solid var(--gray-lighter);
  border-radius: 16px;
  padding: 2.5rem;
}

.scope-box.included {
  border-color: var(--success);
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.scope-box.excluded {
  border-color: var(--warning);
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
}

.scope-box h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scope-box ul {
  list-style: none;
}

.scope-box li {
  display: grid;
  grid-template-columns: 20px minmax(140px, 1fr) 2fr;
  gap: 1rem;
}

.scope-box li span {
  min-width: 0;
  overflow-wrap: break-word;
}


.scope-box.included li::before {
  content: '\2713 ';
  color: var(--success);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.6;
}

.scope-box.excluded li::before {
  content: '\26A0 ';
  font-size: 1.1rem;
  line-height: 1.6;
}

.scope-box li strong {
  font-weight: 800;
  color: var(--navy);
}

.scope-box li span {
  color: var(--gray);
  min-width: 0;
  overflow-wrap: anywhere;
}

.scope-footnote {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.scope-footnote a {
  text-decoration: underline;
}

/* M365 Value Box */
.value-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.value-box h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.value-intro {
  color: var(--gray);
  margin-bottom: 1rem;
}

.value-list {
  list-style: none;
  color: var(--gray);
}

.value-list li {
  padding: 0.4rem 0;
}

.value-footnote {
  color: var(--gray);
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Project Pricing */
.project-intro {
  text-align: center;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.project-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 3rem 0;
}

.pricing-card {
  background: white;
  border: 1px solid var(--gray-lighter);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(11, 17, 32, 0.1);
  border-color: var(--accent);
}

.pricing-card h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 800;
}

.pricing-card .rate {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 1rem;
}

.rate-suffix {
  font-size: 1.3rem;
  font-weight: 650;
}

.pricing-card ul {
  list-style: none;
  margin-top: 1.25rem;
}

.pricing-card li {
  padding: 0.35rem 0;
  color: var(--gray);
}

.muted {
  color: var(--gray);
}

.project-note {
  text-align: center;
  color: var(--gray);
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* Legal notes FIX: aligned labels + proper wrapping */
.legal-notes {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.02),
    rgba(15, 23, 42, 0.01)
  );
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
}

.legal-notes h4 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.legal-notes ul {
  list-style: none;
}

.legal-notes li {
  display: grid;
  grid-template-columns: 20px minmax(190px, 220px) 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  color: var(--gray);
  align-items: start;
}

.legal-notes li::before {
  content: 'â†’';
  color: var(--accent);
  font-weight: 900;
  line-height: 1.6;
}

.legal-notes li strong {
  color: var(--navy);
  font-weight: 900;
  line-height: 1.6;
}

.legal-notes li span {
  min-width: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Closing CTA */
.closing-cta {
  text-align: center;
  margin: 3rem 0 0;
}

/* Responsive */
@media (max-width: 1000px) {
  .calculator-controls {
    grid-template-columns: 1fr;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .project-pricing {
    grid-template-columns: 1fr;
  }

  .scope-box li {
    grid-template-columns: 20px minmax(180px, 200px) 1fr;
  }

  .legal-notes li {
    grid-template-columns: 20px minmax(160px, 200px) 1fr;
  }
}


@media (max-width: 768px) {
  .pricing-section {
    padding: 3rem 1.5rem;
  }

  .guidance-notice {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .guidance-notice h3 {
    font-size: 1.3rem;
  }

  .pricing-calculator {
    padding: 1.5rem;
  }

  .calculator-header h2 {
    font-size: 2rem;
  }

  .calculator-subtitle {
    font-size: 0.95rem;
  }

  .control-group.recommended {
    padding: 1rem;
  }

  .price {
    font-size: 3rem;
  }

  .price-currency {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }

  .scope-section h2 {
    font-size: 2rem;
  }

  .scope-box {
    padding: 1.5rem;
  }

  .scope-box h3 {
    font-size: 1.3rem;
  }

  .scope-box li {
    grid-template-columns: 20px 1fr;
    gap: 0.75rem;
  }

  .scope-box li strong {
    display: block;
    margin-bottom: 0.25rem;
  }

  .scope-box li span {
    display: block;
  }

  .legal-notes {
    padding: 1.5rem;
  }

  .legal-notes h4 {
    font-size: 1.2rem;
  }

  .legal-notes li {
    grid-template-columns: 20px 1fr;
  }

  .legal-notes li strong {
    display: block;
    margin-bottom: 0.25rem;
  }

  .legal-notes li span {
    display: block;
  }

  .toggle-options {
    grid-template-columns: 1fr;
  }

  .value-box {
    padding: 1.5rem;
  }

  .value-box h3 {
    font-size: 1.3rem;
  }

  .project-intro {
    font-size: 0.95rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-card h3 {
    font-size: 1.3rem;
  }

  .pricing-card .rate {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .pricing-section {
    padding: 2rem 1rem;
  }

  .calculator-header h2 {
    font-size: 1.6rem;
  }

  .price {
    font-size: 2.5rem;
  }

  .scope-section h2 {
    font-size: 1.6rem;
  }
}

