/* Live call demo gate - shared styles (include on all pages that use #emailGate) */

#emailGate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  font-family: var(--font, 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif);
}

.email-gate-box {
  background: white;
  padding: 32px 28px 24px;
  border-radius: 20px;
  width: 400px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: gateIn 0.25s ease-out;
  position: relative;
}

.email-gate-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: #777;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.email-gate-close:hover {
  background: rgba(220, 38, 38, .12);
  border: 1.5px solid rgba(220, 38, 38, .4);
  color: rgba(220, 38, 38, .9);
  box-shadow: 0 0 12px rgba(220, 38, 38, .2);
}

.email-gate-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2a65f6, #5b8def);
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-gate-icon svg {
  width: 26px;
  height: 26px;
}

.email-gate-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.email-gate-box .sub {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 20px;
}

.gate-row {
  margin-bottom: 12px;
  text-align: left;
}

.gate-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #222;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f8fafc;
  font-family: inherit;
  box-sizing: border-box;
}

.gate-input:focus {
  border-color: #2a65f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.08);
}

.email-gate-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #2a65f6, #4d7bf3);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.2px;
  margin-top: 4px;
  font-family: inherit;
}

.email-gate-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.email-gate-box .note {
  font-size: 11px;
  color: #bbb;
  margin-top: 14px;
}

@keyframes gateIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gate-phone-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.gate-country-wrap {
  position: relative;
  flex-shrink: 0;
}
.gate-country-select {
  height: 100%;
  min-height: 44px;
  padding: 11px 28px 11px 10px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  background: #F8FAFC;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font);
  transition: border-color 0.2s, background 0.2s;
}
.gate-country-select:focus {
  border-color: #2a65f6;
  background: #fff;
}
.gate-country-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 10px;
  color: #888;
}
.gate-phone-input {
  flex: 1;
  min-width: 0;
}
.gate-phone-input.valid {
  border-color: #22c55e !important;
  background: #f0fdf4 !important;
}
.gate-phone-input.invalid {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
}
.gate-phone-error {
  margin: 0 0 10px;
  font-size: 11px;
  color: #ef4444;
  text-align: left;
  display: none;
}
.gate-confirm-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-confirm-icon svg {
  width: 28px;
  height: 28px;
}
.gate-confirm-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}
.gate-confirm-msg {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 6px;
}
.gate-confirm-sub {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 24px;
}
.gate-confirm-btn {
  padding: 10px 28px;
  background: #f1f5f9;
  color: #333;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
}
.gate-confirm-btn:hover {
  background: #e2e8f0;
}
.email-gate-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
