/* FaceTime API demo — Eddy wall screen (scoped, not a brand landing rewrite) */
.ft-demo {
  min-height: 100dvh;
  margin: 0;
  background: #0a0a0a;
  color: #f6f6f4;
  font-family: "Satoshi", system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
}
.ft-demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(246, 246, 244, 0.08);
}
.ft-demo-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ft-demo-brand strong {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f6f6f4;
}
.ft-demo-brand span {
  font-size: 0.85rem;
  color: rgba(246, 246, 244, 0.55);
}
.ft-demo-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ft-demo-links a {
  color: #0057FF;
  text-decoration: none;
  font-size: 0.9rem;
}
.ft-demo-links a:hover { text-decoration: underline; }

.ft-demo-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 2rem;
  gap: 1.25rem;
}

.ft-wall {
  width: min(360px, 92vw);
  aspect-ratio: 277 / 437;
  background: radial-gradient(120% 80% at 50% 20%, #1a2744 0%, #0b1120 55%, #05070d 100%);
  border-radius: 18px;
  border: 1px solid rgba(246, 246, 244, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.ft-wall-screen {
  position: absolute;
  inset: 8% 10% 10%;
  background: #eaf6ff;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.ft-wall-screen svg.glyph {
  width: 78%;
  height: auto;
  display: block;
}
.ft-live {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 246, 244, 0.7);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ft-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF3B00;
  box-shadow: 0 0 0 0 rgba(255, 59, 0, 0.5);
  animation: ft-pulse 1.6s infinite;
}
.ft-live.is-live i { background: #22c55e; }
@keyframes ft-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ft-controls {
  width: min(420px, 94vw);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ft-row {
  display: flex;
  gap: 0.5rem;
}
.ft-row input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(246, 246, 244, 0.14);
  background: rgba(246, 246, 244, 0.04);
  color: #f6f6f4;
  padding: 0.85rem 1.1rem;
  font: inherit;
  font-size: 0.95rem;
}
.ft-row input:focus {
  outline: 2px solid #0057FF;
  outline-offset: 1px;
}
.ft-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: #0057FF;
  color: #fff;
}
.ft-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ft-btn.secondary {
  background: rgba(246, 246, 244, 0.08);
  color: #f6f6f4;
}
.ft-btn.danger { background: #FF3B00; }

.ft-status {
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: rgba(246, 246, 244, 0.55);
  text-align: center;
}
.ft-transcript {
  width: min(420px, 94vw);
  max-height: 160px;
  overflow: auto;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(246, 246, 244, 0.78);
  padding: 0.5rem 0.25rem;
}
.ft-transcript .u { color: rgba(246, 246, 244, 0.45); }
.ft-transcript .e { color: #f6f6f4; }
.ft-note {
  width: min(420px, 94vw);
  font-size: 0.8rem;
  color: rgba(246, 246, 244, 0.4);
  text-align: center;
  line-height: 1.4;
}
