/* DV Connect additions on top of the shared theme (style.css + dvgroup-pages.css). */

/* Honeypot wrapper for includes/antibot.php. Kept in the stylesheet rather than
   inline so a bot that filters on inline "display:none" still fills it in. */
.dv-shield-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* "Coming soon" dropdown entries (RCS) - visible, but not clickable. */
.menu .dropdown a.is-soon {
  cursor: default;
  opacity: .72;
}
.menu .dropdown a.is-soon:hover {
  background: transparent;
}
.soon-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #0f3cc9;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Channel grid on the home page. */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.channel-card:hover {
  border-color: #0f3cc9;
  box-shadow: 0 14px 34px rgba(15, 60, 201, .10);
  transform: translateY(-3px);
}
.channel-card .channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef2ff;
  color: #0f3cc9;
  font-size: 20px;
}
.channel-card h3 {
  margin: 6px 0 0;
  font-size: 19px;
  color: #0f172a;
}
.channel-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
  font-size: 14.5px;
}
.channel-card ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.channel-card ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #334155;
  font-size: 14px;
}
.channel-card ul li i {
  color: #0f3cc9;
  font-size: 12px;
}
.channel-card ul li a {
  color: #334155;
  text-decoration: none;
}
.channel-card ul li a:hover {
  color: #0f3cc9;
}
.channel-card.is-soon {
  background: #f8fafc;
  border-style: dashed;
}
.channel-card.is-soon:hover {
  transform: none;
  border-color: #cbd5e1;
  box-shadow: none;
}

/* Plan cards used by every SMS / voice / WhatsApp pricing table. */
.credit-plan {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  min-height: unset;
  height: fit-content;
}
.credit-plan-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
  text-align: left;
}
.credit-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 10px;
}
.credit-plan-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
}
.credit-plan-qty {
  padding: 4px 10px;
  border-radius: 4px;
  background: #0f3cc9;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.credit-plan-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 15px 0;
  border-top: 1px dashed #cbd5e1;
}
.credit-plan-price span.label {
  display: block;
  margin-bottom: 4px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}
.credit-plan-price strong {
  display: block;
  color: #0f172a;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.credit-plan-price strong small {
  font-size: 16px;
  font-weight: 600;
}
.credit-plan-buy {
  width: 100%;
  padding: 10px;
  border: 1px solid #0f3cc9;
  border-radius: 6px;
  background: #ffffff;
  color: #0f3cc9;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.credit-plan-buy:hover {
  background: #0f3cc9;
  color: #ffffff;
}
.plan-empty-note {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

/* Billing-cycle toggle shared by the chatbot plan pages. */
.cycle-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 28px;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  width: fit-content;
}
.cycle-switch button {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cycle-switch button.active {
  background: #0f3cc9;
  color: #ffffff;
}

/* "Coming soon" hero band for the IVR / RCS pages. */
.soon-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  padding: 15px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 600;
}
.soon-banner i {
  font-size: 18px;
}

/* Simple two-column API sample block. */
.api-sample {
  overflow-x: auto;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #1e293b;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
}
.api-sample pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
}
.api-sample .api-label {
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Legal pages (terms, privacy, refund). */
.legal-section {
  padding: 56px 0 70px;
}
.legal-section .legal-body {
  max-width: 980px;
  margin: 0 auto;
  color: #334155;
  line-height: 1.75;
  text-align: justify;
}
.legal-section .legal-body h2 {
  margin: 34px 0 12px;
  color: #0f172a;
  font-size: 21px;
}
.legal-section .legal-body h3 {
  margin: 22px 0 8px;
  color: #0f172a;
  font-size: 17px;
}
.legal-section .legal-body p,
.legal-section .legal-body li {
  font-size: 15px;
}
.legal-section .legal-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-section .legal-body li {
  margin-bottom: 7px;
}
.legal-updated {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #0f3cc9;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .credit-plan-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
