/* ROI Calculator */
.roi-calculator-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f4fd 100%);
}
.roi-calculator-card {
  background: #fff;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.roi-calculator-title {
  font-size: 32px;
  font-weight: 700;
  color: #231F20;
  margin-bottom: 0.5rem;
  font-family: 'Atkinson Hyperlegible', sans-serif;
}
.roi-calculator-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 2.5rem;
}

/* Calculator grid: label | col1 | col2 | col3 */
.roi-grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr;
  row-gap: 1.75rem;
  column-gap: 1rem;
  align-items: center;
}

/* Shared input styles */
.roi-calculator-card input[type="number"] {
  padding: 0.6rem 0.75rem;
  font-size: 17px;
  border: none;
  background: #dce8f0;
  border-radius: 4px;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  text-align: right;
  color: #231F20;
  width: 100%;
  max-width: 130px;
}
.roi-calculator-card input[type="number"]:focus {
  outline: none;
  background: #cde0ec;
}
.roi-calculator-card input[type="number"]::-webkit-outer-spin-button,
.roi-calculator-card input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.roi-calculator-card input[type="number"] {
  -moz-appearance: textfield;
}

.roi-label {
  font-size: 17px;
  color: #231F20;
  font-weight: 500;
  font-family: 'Atkinson Hyperlegible', sans-serif;
}

/* Top rows: input in col1, hint spanning col2+col3 */
.roi-input-cell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.roi-hint-cell {
  grid-column: span 2;
  font-size: 15px;
  color: #999;
  font-style: italic;
}

/* Plan header + plan data rows */
.roi-plans-header {
  margin-top: 0.5rem;
}
.roi-plan-col {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #231F20;
  font-family: 'Atkinson Hyperlegible', sans-serif;
}
.roi-plan-col input[type="number"] {
  max-width: 100%;
  width: 100%;
}
.roi-auto-value {
  font-size: 17px;
  font-weight: 700;
  color: #00b3ef;
}

/* Divider */
.roi-divider {
  grid-column: 1 / -1;
  border: none;
  border-top: 2px solid #e8eef3;
  margin: 0;
}

/* Results row: label in col1, output spanning col2-col4 */
.roi-result-label {
  align-self: start;
  padding-top: 0.3rem;
}
.roi-results-output {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.roi-result-line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.roi-result-value {
  font-size: 28px;
  font-weight: 700;
  color: #00b3ef;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  min-width: 180px;
}
.roi-result-period {
  font-size: 17px;
  color: #666;
}

/* Assumptions footer */
.roi-assumptions {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

/* Gated Content / Playbook Section */
.playbook-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #231F20 0%, #3a3536 100%);
}
.playbook-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem;
}
.playbook-badge {
  display: inline-block;
  background: #00b3ef;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.playbook-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Atkinson Hyperlegible', sans-serif;
}
.playbook-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.playbook-contents {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.playbook-contents li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.playbook-contents li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: #00b3ef;
  font-size: 14px;
}
.playbook-preview {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.playbook-preview-icon {
  width: 80px;
  height: 80px;
  background: #00b3ef;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.playbook-preview-icon i {
  font-size: 36px;
  color: #fff;
}
.playbook-preview-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.playbook-preview-pages {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Playbook Form */
.playbook-form .form-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.4rem;
}
.playbook-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 15px;
  border-radius: 8px;
  font-family: 'Atkinson Hyperlegible', sans-serif;
}
.playbook-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.playbook-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00b3ef;
  box-shadow: 0 0 0 3px rgba(0, 179, 239, 0.2);
  color: #fff;
}
.playbook-form .optional-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
.playbook-form .form-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.playbook-submit-btn {
  width: 100%;
  padding: 0.875rem;
  background: #00b3ef;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Atkinson Hyperlegible', sans-serif;
}
.playbook-submit-btn:hover {
  background: #0090c0;
}
.playbook-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.playbook-success {
  text-align: center;
  padding: 2rem 0;
}
.playbook-success-icon {
  width: 60px;
  height: 60px;
  background: #00b3ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.playbook-success-icon i {
  font-size: 28px;
  color: #fff;
}
.playbook-success h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 0.5rem;
}
.playbook-success p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}
.playbook-form .is-invalid {
  border-color: #dc3545;
}
.playbook-form .invalid-feedback {
  color: #ff6b6b;
  font-size: 12px;
}

/* Responsive */
@media screen and (max-width: 991px) {
  .roi-calculator-card {
    padding: 2rem;
  }
  .roi-calculator-title {
    font-size: 26px;
  }
  .roi-grid {
    grid-template-columns: 160px 1fr 1fr 1fr;
    row-gap: 1.25rem;
    column-gap: 0.75rem;
  }
  .roi-label {
    font-size: 15px;
  }
  .roi-hint-cell {
    font-size: 13px;
  }
  .roi-result-value {
    font-size: 24px;
    min-width: 140px;
  }
  .roi-calculator-card input[type="number"] {
    font-size: 15px;
    max-width: 100px;
  }
  .playbook-card {
    padding: 2rem;
  }
  .playbook-title {
    font-size: 26px;
  }
  .playbook-preview {
    margin-top: 2rem;
    min-height: 200px;
  }
}
@media screen and (max-width: 767px) {
  .roi-grid {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 1rem;
    column-gap: 0.5rem;
  }
  .roi-label {
    grid-column: 1 / -1;
    font-size: 15px;
  }
  .roi-input-cell {
    grid-column: 1 / 2;
  }
  .roi-hint-cell {
    grid-column: 2 / -1;
    font-size: 13px;
  }
  .roi-results-output {
    grid-column: 1 / -1;
  }
  .roi-result-value {
    min-width: auto;
  }
}
@media screen and (max-width: 575px) {
  .roi-calculator-section,
  .playbook-section {
    padding: 3rem 0;
  }
  .roi-calculator-card {
    padding: 1.5rem;
  }
  .roi-calculator-title {
    font-size: 22px;
  }
  .roi-calculator-card input[type="number"] {
    font-size: 15px;
    max-width: 70px;
    padding: 0.5rem;
  }
  .roi-plan-col {
    font-size: 14px;
  }
  .roi-result-value {
    font-size: 22px;
  }
  .roi-result-line {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .playbook-card {
    padding: 1.5rem;
  }
  .playbook-title {
    font-size: 22px;
  }
}
