/* Billing Pages Styles - Stepwize Theme */

.billing-container {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  min-height: 100vh;
}

/* Header */
.billing-container header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.billing-container .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.billing-container .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.billing-container .back-link a {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.billing-container .back-link a:hover {
  color: #00008B;
}

.billing-container .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00008B;
  display: flex;
  align-items: center;
}

/* Buttons */
.billing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.billing-btn-primary {
  background: linear-gradient(135deg, #00008B 0%, #0000CD 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 139, 0.3);
}

.billing-btn-primary:hover {
  background: linear-gradient(135deg, #00006B 0%, #00008B 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 139, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.billing-btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Book Call Page Styles */
.billing-content-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  min-height: calc(100vh - 80px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.required {
  color: #dc2626;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #00008B;
  box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  margin-top: 2rem;
}

/* Success Message */
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: #10b981;
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.success-text {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Book Call Page */
.book-call-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.book-call-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 0;
}

.book-call-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.book-call-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Questions Section (Below Form) */
.call-questions-section {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 0;
  position: relative;
}

.call-questions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00008B 0%, #0000CD 100%);
  border-radius: 2px;
}

/* Why Schedule Section */
.why-schedule-section {
  margin-bottom: 0;
}

.why-schedule-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 1rem;
}

.why-schedule-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #00008B 0%, #0000CD 100%);
  border-radius: 2px;
}

.benefit-points {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefit-point {
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 1.5rem;
}

.benefit-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2rem;
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #00008B 0%, #0000CD 100%);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.benefit-point:hover {
  padding-left: 2rem;
}

.benefit-point:hover::before {
  opacity: 1;
}

.benefit-point:first-child {
  padding-top: 0;
}

.benefit-point:first-child::before {
  top: 0;
}

.benefit-point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.benefit-point-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #00008B;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.benefit-point:hover .benefit-point-title {
  color: #00006B;
}

.benefit-point-text {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* What Happens Section */
.what-happens-section {
  padding: 2.5rem 0 0;
  border-top: 2px solid #e5e7eb;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 1rem;
}

.what-happens-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.what-happens-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #00008B 0%, #0000CD 100%);
  border-radius: 2px;
}

.what-happens-list {
  margin: 0;
  padding-left: 1.75rem;
  color: #475569;
  font-size: 1rem;
  line-height: 2;
  list-style: decimal;
}

.what-happens-list li {
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  position: relative;
  transition: color 0.2s ease;
}

.what-happens-list li::marker {
  color: #00008B;
  font-weight: 600;
}

.what-happens-list li:hover {
  color: #0f172a;
}

.what-happens-list li:last-child {
  margin-bottom: 0;
}

.calendly-inline-widget {
  width: 100%;
  min-width: 320px;
  height: 700px;
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

/* Calendly Error Handling */
.calendly-error {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
}

.calendly-error::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
  border-radius: 16px 16px 0 0;
}

.calendly-error-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
}

.calendly-error-text {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.calendly-error-contact {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0;
}

.calendly-error-contact a {
  color: #00008B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.calendly-error-contact a:hover {
  color: #00006B;
  text-decoration: underline;
}

/* Book Call Form */
.booking-form {
  margin-top: 0;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group input[readonly] {
  background-color: #f9fafb;
  cursor: not-allowed;
}

.form-group input[readonly]:focus {
  border-color: #d1d5db;
  box-shadow: none;
}

.form-actions {
  margin-top: 2rem;
}

.form-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-actions button:disabled:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 139, 0.3);
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success .success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: #10b981;
}

.form-success .success-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.form-success .success-text {
  font-size: 1rem;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.success-details {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.success-detail-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  font-size: 0.9375rem;
}

.success-detail-item:last-child {
  border-bottom: none;
}

.success-detail-item strong {
  color: #0f172a;
  display: inline-block;
  min-width: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .book-call-header {
    margin-bottom: 3rem;
    padding: 0 1rem;
  }

  .book-call-title {
    font-size: 2rem;
  }

  .book-call-subtitle {
    font-size: 1.0625rem;
  }

  .call-questions-section {
    gap: 3rem;
    padding: 2rem 1rem;
  }

  .why-schedule-title {
    font-size: 1.5rem;
  }

  .benefit-point {
    padding-left: 1.25rem;
  }

  .benefit-point:hover {
    padding-left: 1.5rem;
  }

  .what-happens-section {
    padding: 2rem 1.5rem;
  }

  .why-schedule-title {
    font-size: 1.375rem;
    margin-bottom: 2rem;
  }

  .benefit-point {
    padding: 1.5rem 0;
  }

  .benefit-point:first-child {
    padding-top: 0;
  }

  .benefit-point-title {
    font-size: 1.0625rem;
  }

  .what-happens-section {
    padding-top: 2rem;
  }

  .calendly-inline-widget {
    height: 500px;
    min-width: 280px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .billing-content-section {
    padding: 2rem 0;
  }

  .billing-container .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .billing-container .back-link {
    align-self: flex-start;
  }
}

/* Footer Styles - Matching Homepage */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid #1e293b;
  margin-top: 4rem;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 1.5rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  vertical-align: middle;
  display: block;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  max-width: 100%;
}

.footer-section {
  min-width: 0;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  margin: 0;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 1.5;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-link-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-email-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.footer-link-email:hover .footer-email-icon {
  transform: translateY(-2px);
}

.footer-help-text {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
}

.footer-copyright {
  margin: 0;
  color: #64748b;
  font-size: 0.8125rem;
}

.footer-link-small {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer-link-small:hover {
  color: #ffffff;
}

/* =============================================================
   MOBILE RESPONSIVE — Billing Pages
   ============================================================= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  /* Billing header */
  .billing-container .header-content {
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
  }

  .billing-container .logo {
    font-size: 1.25rem;
  }

  /* Hero */

  /* Buttons */
  .billing-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  /* Container padding */
  .billing-container .container {
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }
}
