/* ==========================================================================
   FinBillx Website Call to Action Banner (Clean & Simple Theme Colors)
   ========================================================================== */

.cta-section {
  padding-bottom: var(--fb-space-20);
}

.cta-banner {
  background: var(--fb-bg-card);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-xl);
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--fb-shadow-card);
}

[data-theme='dark'] .cta-banner {
  background: var(--fb-bg-card);
  border-color: var(--fb-border);
  box-shadow: var(--fb-shadow-card);
}

.cta-content {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pill Badge */
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 9999px;
  color: var(--fb-accent-blue);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

[data-theme='dark'] .cta-pill {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.cta-pill svg {
  color: var(--fb-accent-blue);
}

[data-theme='dark'] .cta-pill svg {
  color: #60a5fa;
}

.cta-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: var(--fb-font-weight-bold);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fb-text-primary);
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--fb-text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

.cta-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Form Container */
.cta-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  background: var(--fb-bg-page);
  border: 1px solid var(--fb-border);
  padding: 5px;
  border-radius: var(--fb-radius-lg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color var(--fb-transition-normal), box-shadow var(--fb-transition-normal);
}

.cta-form:focus-within {
  border-color: var(--fb-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

[data-theme='dark'] .cta-form:focus-within {
  border-color: var(--fb-primary);
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.2);
}

.cta-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 12px;
  gap: 10px;
}

.cta-mail-icon {
  color: var(--fb-text-placeholder);
  flex-shrink: 0;
}

.cta-input {
  flex: 1;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--fb-text-primary);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.cta-input::placeholder {
  color: var(--fb-text-placeholder);
}

/* Submit Button */
.cta-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  background: var(--fb-primary);
  color: var(--fb-primary-fg);
  border: none;
  border-radius: var(--fb-radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: var(--fb-font-weight-semibold);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--fb-transition-fast);
}

.cta-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta-submit-btn svg {
  transition: transform var(--fb-transition-fast);
}

.cta-submit-btn:hover svg {
  transform: translateX(2px);
}

[data-theme='dark'] .cta-submit-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #FFFFFF;
}

/* Perks Row */
.cta-perks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.cta-perk-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fb-text-muted);
  font-weight: var(--fb-font-weight-medium);
}

.cta-perk-item svg {
  width: 15px;
  height: 15px;
  color: var(--fb-success);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cta-banner {
    padding: 40px 18px;
  }

  .cta-form {
    flex-direction: column;
    padding: 8px;
  }

  .cta-input-group {
    width: 100%;
    padding-left: 6px;
  }

  .cta-input {
    width: 100%;
  }

  .cta-submit-btn {
    width: 100%;
  }

  .cta-perks {
    gap: 10px 16px;
  }
}
